Caroline Girard 556e66ba66 qit
2018-09-04 09:22:47 +02:00

42 lines
1.2 KiB
Plaintext

=render :partial => "public/my_account/menu"
.center.padding
.padding
%h1
=qit("virements-index-comptes", "Comptes bancaires")
=link_to qit("virements-index-comissions", "Demander un virement de commissions"), new_public_virement_path, :class => "btn btn-primary"
%table.table{:style => "text-align:left"}
%tr
=qit "virements-index" do
%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?
=qit("virement-index-valider", "Validé")
-else
=qit("virement-index-cours-validation", "En cours de validation")
%td
-if virement.scan_file?
=qit("virement-index-fichier-recu", "Fichier reçu :")
=virement.scan_file.file.filename