Fix label

This commit is contained in:
Laurent Destailleur 2021-08-02 18:23:05 +02:00
parent efda27000e
commit 61e3a57de7

View File

@ -206,7 +206,7 @@ print $nb;
print '</td></tr>'; print '</td></tr>';
print '<tr><td>'.$langs->trans("AmountTotal").'</td>'; print '<tr><td>'.$langs->trans("AmountTotal").'</td>';
print '<td>'; print '<td class="amount">';
print price($pricetowithdraw); print price($pricetowithdraw);
print '</td>'; print '</td>';
print '</tr>'; print '</tr>';
@ -225,7 +225,11 @@ print '<input type="hidden" name="token" value="'.newToken().'">';
print '<input type="hidden" name="type" value="'.$type.'">'; print '<input type="hidden" name="type" value="'.$type.'">';
if ($nb) { if ($nb) {
if ($pricetowithdraw) { if ($pricetowithdraw) {
print $langs->trans('BankToReceiveWithdraw').': '; $title = print $langs->trans('BankToReceiveWithdraw').': ';
if ($type == 'bank-transfer') {
$title .= $langs->trans('BankToPayCreditTransfer').': ';
}
print $title;
$form->select_comptes($conf->global->PRELEVEMENT_ID_BANKACCOUNT, 'id_bankaccount', 0, "courant=1"); $form->select_comptes($conf->global->PRELEVEMENT_ID_BANKACCOUNT, 'id_bankaccount', 0, "courant=1");
print ' - '; print ' - ';