diff --git a/app/views/dossiers/_pieces_justificatives.html.haml b/app/views/dossiers/_pieces_justificatives.html.haml index 53e094423..3d17387a9 100644 --- a/app/views/dossiers/_pieces_justificatives.html.haml +++ b/app/views/dossiers/_pieces_justificatives.html.haml @@ -28,10 +28,5 @@ %a{ href: "#{piece_justificative.content}", target: '_blank' } Consulter - else = 'Pièce non fournie' - - if gestionnaire_signed_in? || (user_signed_in? && current_user.loged_in_with_france_connect) - %tr - %th.col-lg-6 - Attestation fiscale - %td.col-lg-6.col-md-6 - %a{ href: "/attestation_fiscale_octo.pdf", target: '_blank'} Consulter + diff --git a/app/views/users/description/show.html.haml b/app/views/users/description/show.html.haml index 7ab4f5b51..77dc8090c 100644 --- a/app/views/users/description/show.html.haml +++ b/app/views/users/description/show.html.haml @@ -72,15 +72,6 @@ %span.btn.btn-sm.btn-file.btn-success Modifier = file_field_tag "piece_justificative_#{piece_justificative.type}", accept: '.pdf' - - - if (user_signed_in? && current_user.loged_in_with_france_connect) || gestionnaire_signed_in? - %tr - %th.col-lg-6 - Attestation fiscale - %td.col-lg-6.col-md-6 - %a{ href: "/attestation_fiscale_octo.pdf", target: '_blank'} Nous l'avons récupéré pour vous. - //END - %div{style: 'text-align:right'} %h6 Tous les champs portant un * sont obligatoires. diff --git a/db/schema.rb b/db/schema.rb index 35bb5b3c9..3ae1d4d24 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -109,7 +109,7 @@ ActiveRecord::Schema.define(version: 20151127103412) do create_table "exercices", force: :cascade do |t| t.string "ca" t.datetime "dateFinExercice" - t.datetime "date_fin_exercice_timestamp" + t.integer "date_fin_exercice_timestamp" t.integer "etablissement_id" end diff --git a/public/attestation_fiscale_octo.pdf b/public/attestation_fiscale_octo.pdf deleted file mode 100644 index fc3dafae1..000000000 Binary files a/public/attestation_fiscale_octo.pdf and /dev/null differ