=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_annonce_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
      -@annonce_account_ribs.each do |annonce_account_rib|
        %tr
          %td=annonce_account_rib.name
          %td=annonce_account_rib.country
          %td=annonce_account_rib.bank_name
          %td=annonce_account_rib.iban
          %td
            -if annonce_account_rib.tva?
              =annonce_account_rib.tva_number
          %td
            -if annonce_account_rib.validated?
              =qit("bank-account-validate","Validé")
            -else
              =qit("bank-account-validate-progress","En cours de validation")
              
          %td
            -if annonce_account_rib.scan_file?
              Fichier reçu :
              =annonce_account_rib.scan_file.file.filename
            
          
      