Merge branch 'develop' of github.com:sgmap/tps into develop

This commit is contained in:
Xavier J 2015-12-02 14:06:41 +01:00
commit 0478805501
4 changed files with 2 additions and 16 deletions

View file

@ -28,10 +28,5 @@
%a{ href: "#{piece_justificative.content}", target: '_blank' } Consulter %a{ href: "#{piece_justificative.content}", target: '_blank' } Consulter
- else - else
= 'Pièce non fournie' = '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

View file

@ -72,15 +72,6 @@
%span.btn.btn-sm.btn-file.btn-success %span.btn.btn-sm.btn-file.btn-success
Modifier Modifier
= file_field_tag "piece_justificative_#{piece_justificative.type}", accept: '.pdf' = 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'} %div{style: 'text-align:right'}
%h6 Tous les champs portant un * sont obligatoires. %h6 Tous les champs portant un * sont obligatoires.

View file

@ -109,7 +109,7 @@ ActiveRecord::Schema.define(version: 20151127103412) do
create_table "exercices", force: :cascade do |t| create_table "exercices", force: :cascade do |t|
t.string "ca" t.string "ca"
t.datetime "dateFinExercice" t.datetime "dateFinExercice"
t.datetime "date_fin_exercice_timestamp" t.integer "date_fin_exercice_timestamp"
t.integer "etablissement_id" t.integer "etablissement_id"
end end

Binary file not shown.