diff --git a/htdocs/langs/fr_FR/banks.lang b/htdocs/langs/fr_FR/banks.lang index d00aad6cbf0..f3aace49e28 100644 --- a/htdocs/langs/fr_FR/banks.lang +++ b/htdocs/langs/fr_FR/banks.lang @@ -4,3 +4,6 @@ Banks=Banques BankAccount=Compte bancaire BankAccounts=Comptes bancaires MainAccount=Compte courant +RIB=RIB +IBAN=Idnetifiant IBAN +BIC=Identifiant BIC \ No newline at end of file diff --git a/htdocs/societe/rib.php b/htdocs/societe/rib.php index d863df5b66c..8bb2c5a3d29 100644 --- a/htdocs/societe/rib.php +++ b/htdocs/societe/rib.php @@ -20,9 +20,20 @@ * $Id$ * $Source$ */ + +/** + \file htdocs/societe/rib.php + \ingroup societe + \brief Onglet rib de societe + \version $Revision$ +*/ + require("./pre.inc.php"); require_once DOL_DOCUMENT_ROOT . "/companybankaccount.class.php"; +$langs->load("companies"); +$langs->load("banks"); + $user->getrights('societe'); if ( !$user->rights->societe->creer) @@ -73,11 +84,11 @@ if ($_POST["action"] == 'update' && ! $_POST["cancel"]) $h = 0; $head[0][0] = DOL_URL_ROOT .'/soc.php?socid='.$soc->id; -$head[0][1] = "Fiche société"; +$head[0][1] = $langs->trans("Company"); $h = 1; $head[$h][0] = "fiche.php?id=$account->id"; -$head[$h][1] = "Compte bancaire $account->number"; +$head[$h][1] = $langs->trans("BankAccount")." $account->number"; $h++; dolibarr_fiche_head($head, 1); @@ -97,24 +108,24 @@ $account->fetch(); if (!$account->verif()) { - print '
| Banque | '; + print '||||||||||||||||||||||||||||||||||||||||||||||||||
| '.$langs->trans("Bank").' | '; print ''.$account->bank.' | |||||||||||||||||||||||||||||||||||||||||||||||||
| RIB | Code Banque | Code Guichet | Numéro | Clé RIB | ||||||||||||||||||||||||||||||||||||||||||||||
| '.$langs->trans("RIB").' | Code Banque | Code Guichet | Numéro | Clé RIB | ||||||||||||||||||||||||||||||||||||||||||||||
| '.$account->code_banque.' | '; print ''.$account->code_guichet.' | '; print ''.$account->number.' | '; print ''.$account->cle_rib.' | |||||||||||||||||||||||||||||||||||||||||||||||
| Clé IBAN | '; + print '||||||||||||||||||||||||||||||||||||||||||||||||||
| '.$langs->trans("IBAN").' | '; print ''.$account->iban_prefix.' | |||||||||||||||||||||||||||||||||||||||||||||||||
| Identifiant BIC | '; + print '||||||||||||||||||||||||||||||||||||||||||||||||||
| '.$langs->trans("BIC").' | '; print ''.$account->bic.' | |||||||||||||||||||||||||||||||||||||||||||||||||
| Domiciliation | ';
@@ -135,9 +146,6 @@ $account->fetch();
print '';
-
-
-
/*
* Barre d'actions
@@ -174,21 +182,21 @@ $account->fetch();
print '';
print '';
- print '
'; } | |||||||||||||||||||||||||||||||||||||||||||||||||