Skip to content
Snippets Groups Projects
Commit ac626dd1 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Spanish bank account use full detailed informations

parent 28e48f3a
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@
/**
* \file htdocs/compta/bank/bankid_fr.php
* \ingroup banque
* \brief Fiche cration compte bancaire
* \brief Fiche cration compte bancaire
* \version $Id$
*/
......@@ -90,7 +90,7 @@ $form = new Form($db);
/* ************************************************************************** */
/* */
/* Affichage page en mode cration */
/* Affichage page en mode cration */
/* */
/* ************************************************************************** */
......@@ -152,7 +152,7 @@ if (($_GET["id"] || $_GET["ref"]) && $_GET["action"] != 'edit')
print '<tr><td valign="top">'.$langs->trans("BankName").'</td>';
print '<td colspan="3">'.$account->bank.'</td></tr>';
if ($account->getCountryCode() == 'FR')
if ($account->useDetailedBBAN())
{
print '<tr><td>'.$langs->trans("BankCode").'</td>';
print '<td colspan="3">'.$account->code_banque.'</td>';
......@@ -167,7 +167,7 @@ if (($_GET["id"] || $_GET["ref"]) && $_GET["action"] != 'edit')
print '<td colspan="3">'.$account->number.'</td>';
print '</tr>';
if ($account->getCountryCode() == 'FR')
if ($account->useDetailedBBAN())
{
print '<tr><td>'.$langs->trans("BankAccountNumberKey").'</td>';
print '<td colspan="3">'.$account->cle_rib.'</td>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment