FAKE pièce justificative

This commit is contained in:
Xavier J 2015-10-08 16:07:01 +02:00
parent e678216ca8
commit e63409ddfd
3 changed files with 14 additions and 0 deletions

View file

@ -28,3 +28,10 @@
%a{ href: "#{piece_justificative.content}", target: '_blank' } Consulter
- else
= 'Pièce non fournie'
- if 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'} Nous l'avons récupéré pour vous.

View file

@ -68,6 +68,13 @@
%span.btn.btn-sm.btn-file.btn-success
Modifier
= file_field_tag "piece_justificative_#{piece_justificative.type}", accept: '.pdf'
- if 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'} Nous l'avons récupéré pour vous.
//END
%div{style: 'text-align:right'}

Binary file not shown.