diff --git a/htdocs/compta/bank/card.php b/htdocs/compta/bank/card.php
index 4e37268756d..0d9ea0ecfb3 100644
--- a/htdocs/compta/bank/card.php
+++ b/htdocs/compta/bank/card.php
@@ -124,6 +124,7 @@ if (empty($reshook)) {
$object->bic = trim(GETPOST("bic"));
$object->iban = trim(GETPOST("iban"));
$object->domiciliation = trim(GETPOST("domiciliation", "nohtml"));
+ $object->pti_in_ctti = empty(GETPOST("pti_in_ctti")) ? 0 : 1;
$object->proprio = trim(GETPOST("proprio", 'alphanohtml'));
$object->owner_address = trim(GETPOST("owner_address", 'nohtml'));
@@ -224,6 +225,7 @@ if (empty($reshook)) {
$object->bic = trim(GETPOST("bic"));
$object->iban = trim(GETPOST("iban"));
$object->domiciliation = trim(GETPOST("domiciliation", "nohtml"));
+ $object->pti_in_ctti = empty(GETPOST("pti_in_ctti")) ? 0 : 1;
$object->proprio = trim(GETPOST("proprio", 'alphanohtml'));
$object->owner_address = trim(GETPOST("owner_address", 'nohtml'));
@@ -537,6 +539,11 @@ if ($action == 'create') {
print '
| '.$langs->trans($bickey).' | ';
print ' |
';
+ print '| '.$langs->trans("SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformation").' | ';
+ print ' ';
+ print img_picto($langs->trans("SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformationHelp"), 'info');
+ print ' |
';
+
print '| '.$langs->trans("BankAccountDomiciliation").' | ';
print ' |
';
}
+ print '| '.$langs->trans("SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformation").' | ';
+ print (empty($object->pti_in_ctti) ? $langs->trans("No") : $langs->trans("Yes")) . ' ';
+ print img_picto($langs->trans("SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformationHelp"), 'info');
+ print " |
\n";
+
print '| '.$langs->trans("BankAccountDomiciliation").' | ';
print nl2br($object->domiciliation);
print " |
\n";
@@ -1076,6 +1088,11 @@ if ($action == 'create') {
print ' | ';
}
+ print '| '.$langs->trans("SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformation").' | ';
+ print 'pti_in_ctti ? ' checked ' : '') . '> ';
+ print img_picto($langs->trans("SEPAXMLPlacePaymentTypeInformationInCreditTransfertransactionInformationHelp"), 'info');
+ print ' |
';
+
print '| '.$langs->trans("BankAccountDomiciliation").' | ';
print ' |