feat(Administrateur::ArchivesControllers): add archives #index and #create for admin

This commit is contained in:
Martin 2022-06-23 13:51:58 +02:00 committed by mfo
parent f1f55c3e81
commit 7fb85c97cb
23 changed files with 270 additions and 135 deletions

View file

@ -0,0 +1,12 @@
= render partial: 'administrateurs/breadcrumbs',
locals: { steps: [link_to('Démarches', admin_procedures_path),
link_to(@procedure.libelle, admin_procedure_path(@procedure)),
'Export et Archives'] }
.container
%h1.mb-2
Archives
= render partial: "shared/archives/notice"
= render partial: "shared/archives/table", locals: {count_dossiers_termines_by_month: @count_dossiers_termines_by_month, archives: @archives, average_dossier_weight: @average_dossier_weight, procedure: @procedure }