Nicolas Bally d52c017848 suite
2016-04-28 22:41:58 +02:00

38 lines
1.2 KiB
Plaintext

=render :partial => "public/my_account/menu"
.center
.padding
%h1=qit("title-bank-account","Comptes bancaires")
=link_to qit("add-bank-account","ajouter un compte bancaire"), new_public_account_rib_path, :class => "btn btn-primary"
%table.table{:style => "text-align:left"}
%tr
%th=qit("th-bank-account-alias","Intitulé du compte")
%th=qit("th-country", "Pays")
%th=qit("th-bank", "Banque")
%th=qit("th-iban","Iban")
%th=qit("th-tva","Tva")
%th=qit("th-statut","Statut")
%th
-@account_rib.each do |account_rib|
%tr
%td=account_rib.name
%td=account_rib.country
%td=account_rib.bank_name
%td=account_rib.iban
%td
-if account_rib.tva?
=account_rib.tva_number
%td
-if account_rib.validated?
=qit("bank-account-validate","Validé")
-else
=qit("bank-account-validate-progress","En cours de validation")
%td
-if account_rib.scan_file?
Fichier reçu :
=account_rib.scan_file.file.filename