@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | // Check permission on company |
98 | 98 | $result = restrictedArea($user, 'societe', '', ''); |
99 | 99 | |
100 | -$stripe = null; // Stripe object |
|
100 | +$stripe = null; // Stripe object |
|
101 | 101 | $stripeacc = null; // Stripe Account |
102 | 102 | $stripecu = null; // Remote stripe customer |
103 | 103 | |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | } |
178 | 178 | |
179 | 179 | if (!$error) { |
180 | - $companybankaccount->oldcopy = dol_clone($companybankaccount, 2); // @phan-suppress-current-line PhanTypeMismatchProperty |
|
180 | + $companybankaccount->oldcopy = dol_clone($companybankaccount, 2); // @phan-suppress-current-line PhanTypeMismatchProperty |
|
181 | 181 | |
182 | 182 | $companybankaccount->socid = $object->id; |
183 | 183 | |
@@ -254,7 +254,7 @@ discard block |
||
254 | 254 | |
255 | 255 | $companypaymentmode->fetch($id); |
256 | 256 | if (!$error) { |
257 | - $companypaymentmode->oldcopy = dol_clone($companypaymentmode, 2); // @phan-suppress-current-line PhanTypeMismatchProperty |
|
257 | + $companypaymentmode->oldcopy = dol_clone($companypaymentmode, 2); // @phan-suppress-current-line PhanTypeMismatchProperty |
|
258 | 258 | |
259 | 259 | $companypaymentmode->fk_soc = $object->id; |
260 | 260 | |
@@ -540,8 +540,8 @@ discard block |
||
540 | 540 | 'use_companybankid' => GETPOST('companybankid'), |
541 | 541 | 'force_dir_output' => $conf->societe->multidir_output[$object->entity].'/'.dol_sanitizeFileName((string) $object->id) |
542 | 542 | ); |
543 | - $_POST['lang_id'] = GETPOST('lang_idrib'.GETPOSTINT('companybankid'), 'alphanohtml'); // This is required by core/action_builddoc.inc.php |
|
544 | - $_POST['model'] = GETPOST('modelrib'.GETPOSTINT('companybankid'), 'alphanohtml'); // This is required by core/action_builddoc.inc.php |
|
543 | + $_POST['lang_id'] = GETPOST('lang_idrib'.GETPOSTINT('companybankid'), 'alphanohtml'); // This is required by core/action_builddoc.inc.php |
|
544 | + $_POST['model'] = GETPOST('modelrib'.GETPOSTINT('companybankid'), 'alphanohtml'); // This is required by core/action_builddoc.inc.php |
|
545 | 545 | } |
546 | 546 | |
547 | 547 | $id = $socid; |
@@ -611,7 +611,7 @@ discard block |
||
611 | 611 | } |
612 | 612 | if ($action == 'syncsepatostripe' && $permissiontoaddupdatepaymentinformation) { |
613 | 613 | // Create the bank account on current Stripe env |
614 | - $companypaymentmode = new CompanyPaymentMode($db); // Get record in llx_societe_rib |
|
614 | + $companypaymentmode = new CompanyPaymentMode($db); // Get record in llx_societe_rib |
|
615 | 615 | $companypaymentmode->fetch($id); |
616 | 616 | |
617 | 617 | if ($companypaymentmode->type != 'ban') { |
@@ -1216,7 +1216,7 @@ discard block |
||
1216 | 1216 | print '<table class="liste centpercent noborder">'."\n"; |
1217 | 1217 | print '<tr class="liste_titre">'; |
1218 | 1218 | print '<td>'.$langs->trans('Label').'</td>'; |
1219 | - print '<td>'.$form->textwithpicto($langs->trans('ExternalSystemID'), $langs->trans("IDOfPaymentInAnExternalSystem")).'</td>'; // external system ID |
|
1219 | + print '<td>'.$form->textwithpicto($langs->trans('ExternalSystemID'), $langs->trans("IDOfPaymentInAnExternalSystem")).'</td>'; // external system ID |
|
1220 | 1220 | print '<td>'.$langs->trans('Type').'</td>'; |
1221 | 1221 | print '<td>'.$langs->trans('Informations').'</td>'; |
1222 | 1222 | print '<td></td>'; |
@@ -1557,7 +1557,7 @@ discard block |
||
1557 | 1557 | |
1558 | 1558 | // List of bank accounts |
1559 | 1559 | if ($permissiontoaddupdatepaymentinformation) { |
1560 | - $morehtmlright = dolGetButtonTitle($langs->trans('Add'), '', 'fa fa-plus-circle', $_SERVER["PHP_SELF"] . '?socid=' . $object->id . '&action=create'); |
|
1560 | + $morehtmlright = dolGetButtonTitle($langs->trans('Add'), '', 'fa fa-plus-circle', $_SERVER["PHP_SELF"].'?socid='.$object->id.'&action=create'); |
|
1561 | 1561 | } |
1562 | 1562 | |
1563 | 1563 | print load_fiche_titre($langs->trans("BankAccounts"), $morehtmlright, 'bank'); |
@@ -1574,7 +1574,7 @@ discard block |
||
1574 | 1574 | |
1575 | 1575 | print '<tr class="liste_titre">'; |
1576 | 1576 | print_liste_field_titre("Label"); |
1577 | - print_liste_field_titre($form->textwithpicto($langs->trans('ExternalSystemID'), $langs->trans("IDOfPaymentInAnExternalSystem"))); // external system ID |
|
1577 | + print_liste_field_titre($form->textwithpicto($langs->trans('ExternalSystemID'), $langs->trans("IDOfPaymentInAnExternalSystem"))); // external system ID |
|
1578 | 1578 | //print_liste_field_titre("Bank"); |
1579 | 1579 | print_liste_field_titre("RIB"); |
1580 | 1580 | print_liste_field_titre("IBAN"); |
@@ -1683,7 +1683,7 @@ discard block |
||
1683 | 1683 | // RUM |
1684 | 1684 | //print '<td>'.$prelevement->buildRumNumber($object->code_client, $rib->datec, $rib->id).'</td>'; |
1685 | 1685 | print '<td class="tdoverflowmax100 small" title="'.dolPrintHTMLForAttribute($rib->rum).'">'.dolPrintHTML($rib->rum); |
1686 | - print '<br><span class="opacitymedium">'.dolPrintHTML($rib->frstrecur).'</span>'; // FRST or RCUR |
|
1686 | + print '<br><span class="opacitymedium">'.dolPrintHTML($rib->frstrecur).'</span>'; // FRST or RCUR |
|
1687 | 1687 | print '</td>'; |
1688 | 1688 | |
1689 | 1689 | // Date |
@@ -1761,7 +1761,7 @@ discard block |
||
1761 | 1761 | print '<td class="minwidth200 width200">'; |
1762 | 1762 | $useonlinesignature = 1; |
1763 | 1763 | if ($useonlinesignature) { |
1764 | - require_once DOL_DOCUMENT_ROOT . '/core/lib/signature.lib.php'; |
|
1764 | + require_once DOL_DOCUMENT_ROOT.'/core/lib/signature.lib.php'; |
|
1765 | 1765 | print showOnlineSignatureUrl($companybankaccount->element, (string) $rib->id, $rib, 'short'); |
1766 | 1766 | } |
1767 | 1767 | print '</td>'; |