vita_app/app/views/public/virements/index.html.haml
Nicolas Bally d52c017848 suite
2016-04-28 22:41:58 +02:00

40 lines
952 B
Plaintext

=render :partial => "public/my_account/menu"
.center.padding
.padding
%h1 Comptes bancaires
=link_to "Demander un virement de commissions", new_public_virement_path, :class => "btn btn-primary"
%table.table{:style => "text-align:left"}
%tr
%th Intitulé du compte
%th Pays
%th Banque
%th
Iban
%th
Tva
%th Statut
%th
-@virements.each do |virement|
%tr
%td=virement.name
%td=virement.country
%td=virement.bank_name
%td=virement.iban
%td
-if virement.tva?
=virement.tva_number
%td
-if virement.validated?
Validé
-else
En cours de validation
%td
-if virement.scan_file?
Fichier reçu :
=virement.scan_file.file.filename