diff --git a/htdocs/compta/bank/card.php b/htdocs/compta/bank/card.php
index 73cb5d3bf02..6f08fb17054 100644
--- a/htdocs/compta/bank/card.php
+++ b/htdocs/compta/bank/card.php
@@ -55,6 +55,7 @@ $langs->loadLangs(array("banks", "bills", "categories", "companies", "compta", "
$action = GETPOST('action', 'aZ09');
$cancel = GETPOST('cancel', 'alpha');
+$backtopage = GETPOST('backtopage', 'alpha');
$object = new Account($db);
$extrafields = new ExtraFields($db);
@@ -380,6 +381,7 @@ if ($action == 'create') {
print '';
print '';
print '';
+ print '';
print dol_get_fiche_head('');
@@ -527,6 +529,12 @@ if ($action == 'create') {
print '
| ';
print '';
+ $ibankey = FormBank::getIBANLabel($object);
+ $bickey = "BICNumber";
+ if ($object->getCountryCode() == 'IN') {
+ $bickey = "SWIFT";
+ }
+
// IBAN
print '| '.$langs->trans($ibankey).' | ';
print ' |
';
@@ -561,11 +569,6 @@ if ($action == 'create') {
print ' | ';
print '';
}
- $ibankey = FormBank::getIBANLabel($object);
- $bickey = "BICNumber";
- if ($object->getCountryCode() == 'IN') {
- $bickey = "SWIFT";
- }
if (isModEnabled('paymentbybanktransfer')) {
print '| '.$form->textwithpicto($langs->trans("SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformation"), $langs->trans("SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformationHelp")).' | ';
@@ -903,6 +906,7 @@ if ($action == 'create') {
print '';
print '';
print ''."\n\n";
+ print '';
print dol_get_fiche_head(array(), 0, '', 0);
diff --git a/htdocs/takepos/admin/terminal.php b/htdocs/takepos/admin/terminal.php
index e2e3bd87048..dbbe7cfe46a 100644
--- a/htdocs/takepos/admin/terminal.php
+++ b/htdocs/takepos/admin/terminal.php
@@ -167,7 +167,8 @@ if (isModEnabled("banque")) {
print '
| '.$langs->trans("CashDeskBankAccountForSell").' | ';
print '';
print img_picto('', 'bank_account', 'class="pictofixedwidth"');
- $form->select_comptes(getDolGlobalInt('CASHDESK_ID_BANKACCOUNT_CASH'.$terminaltouse), 'CASHDESK_ID_BANKACCOUNT_CASH'.$terminaltouse, 0, "courant=2", 1);
+ print $form->select_comptes(getDolGlobalInt('CASHDESK_ID_BANKACCOUNT_CASH'.$terminaltouse), 'CASHDESK_ID_BANKACCOUNT_CASH'.$terminaltouse, 0, "courant=2", 1, '', 0, '', 1);
+ print ' ';
if (getDolGlobalInt('CASHDESK_ID_BANKACCOUNT_CASH'.$terminaltouse)) {
$atleastonefound++;
}
@@ -175,7 +176,8 @@ if (isModEnabled("banque")) {
print ' |
| '.$langs->trans("CashDeskBankAccountForCheque").' | ';
print '';
print img_picto('', 'bank_account', 'class="pictofixedwidth"');
- $form->select_comptes(getDolGlobalInt('CASHDESK_ID_BANKACCOUNT_CHEQUE'.$terminaltouse), 'CASHDESK_ID_BANKACCOUNT_CHEQUE'.$terminaltouse, 0, "courant=1", 1);
+ print $form->select_comptes(getDolGlobalInt('CASHDESK_ID_BANKACCOUNT_CHEQUE'.$terminaltouse), 'CASHDESK_ID_BANKACCOUNT_CHEQUE'.$terminaltouse, 0, "courant=1", 1, '', 0, '', 1);
+ print ' ';
if (getDolGlobalInt('CASHDESK_ID_BANKACCOUNT_CHEQUE'.$terminaltouse)) {
$atleastonefound++;
}
@@ -183,7 +185,8 @@ if (isModEnabled("banque")) {
print ' |
| '.$langs->trans("CashDeskBankAccountForCB").' | ';
print '';
print img_picto('', 'bank_account', 'class="pictofixedwidth"');
- $form->select_comptes(getDolGlobalInt('CASHDESK_ID_BANKACCOUNT_CB'.$terminaltouse), 'CASHDESK_ID_BANKACCOUNT_CB'.$terminaltouse, 0, "courant=1", 1);
+ print $form->select_comptes(getDolGlobalInt('CASHDESK_ID_BANKACCOUNT_CB'.$terminaltouse), 'CASHDESK_ID_BANKACCOUNT_CB'.$terminaltouse, 0, "courant=1", 1, '', 0, '', 1);
+ print ' ';
if (getDolGlobalInt('CASHDESK_ID_BANKACCOUNT_CB'.$terminaltouse)) {
$atleastonefound++;
}
@@ -230,7 +233,8 @@ if (isModEnabled("banque")) {
print ' |
| '.$langs->trans("CashDeskBankAccountForSumup").' | ';
print '';
print img_picto('', 'bank_account', 'class="pictofixedwidth"');
- $form->select_comptes(getDolGlobalInt('CASHDESK_ID_BANKACCOUNT_SUMUP'.$terminaltouse), 'CASHDESK_ID_BANKACCOUNT_SUMUP'.$terminaltouse, 0, "courant=1", 1);
+ print $form->select_comptes(getDolGlobalInt('CASHDESK_ID_BANKACCOUNT_SUMUP'.$terminaltouse), 'CASHDESK_ID_BANKACCOUNT_SUMUP'.$terminaltouse, 0, "courant=1", 1, '', 0, '', 1);
+ print ' ';
if (getDolGlobalInt('CASHDESK_ID_BANKACCOUNT_SUMUP'.$terminaltouse)) {
$atleastonefound++;
}
@@ -249,7 +253,8 @@ if (isModEnabled("banque")) {
}
$cour = preg_match('/^LIQ.*/', $modep->code) ? 2 : 1;
print img_picto('', 'bank_account', 'class="pictofixedwidth"');
- $form->select_comptes(getDolGlobalInt($name), $name, 0, "courant=".$cour, 1);
+ print $form->select_comptes(getDolGlobalInt($name), $name, 0, "courant=".$cour, 1, '', 0, '', 1);
+ print ' ';
print ' |
';
}
}