FIX: deposit payment terms: langs
This commit is contained in:
parent
cd1eb3b992
commit
4059b64288
@ -2018,7 +2018,7 @@ if ($action == 'create') {
|
||||
'type' => 'checkbox',
|
||||
'tdclass' => 'showonlyifsigned',
|
||||
'name' => 'generate_deposit',
|
||||
'label' => $form->textwithpicto($langs->trans('GenerateDeposit', $object->deposit_percent), $langs->trans('PaymentConditionPermitsDepositGenerationSelected'))
|
||||
'label' => $form->textwithpicto($langs->trans('GenerateDeposit', $object->deposit_percent), $langs->trans('DepositGenerationPermittedByThePaymentTermsSelected'))
|
||||
);
|
||||
|
||||
$formquestion[] = array(
|
||||
|
||||
@ -2028,7 +2028,7 @@ if ($action == 'create' && $usercancreate) {
|
||||
'type' => 'checkbox',
|
||||
'tdclass' => '',
|
||||
'name' => 'generate_deposit',
|
||||
'label' => $form->textwithpicto($langs->trans('GenerateDeposit', $object->deposit_percent), $langs->trans('PaymentConditionPermitsDepositGenerationSelected'))
|
||||
'label' => $form->textwithpicto($langs->trans('GenerateDeposit', $object->deposit_percent), $langs->trans('DepositGenerationPermittedByThePaymentTermsSelected'))
|
||||
);
|
||||
|
||||
$formquestion[] = array(
|
||||
|
||||
@ -1423,7 +1423,7 @@ class Facture extends CommonInvoice
|
||||
global $conf, $langs, $hookmanager, $action;
|
||||
|
||||
if (! in_array($origin->element, array('propal', 'commande'))) {
|
||||
$origin->error = 'ErrorCanOnlyAutomaticallyGenerateADepositFromProposalOrOrder'; // TRAD
|
||||
$origin->error = 'ErrorCanOnlyAutomaticallyGenerateADepositFromProposalOrOrder';
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@ -426,7 +426,7 @@ VarAmount=Variable amount (%% tot.)
|
||||
VarAmountOneLine=Variable amount (%% tot.) - 1 line with label '%s'
|
||||
VarAmountAllLines=Variable amount (%% tot.) - all lines from origin
|
||||
DepositPercent=Deposit %%
|
||||
PaymentConditionPermitsDepositGenerationSelected=You can generate a deposit invoice with the payment conditions you selected
|
||||
DepositGenerationPermittedByThePaymentTermsSelected=This is permitted by the payment terms selected
|
||||
GenerateDeposit=Generate a %s%% deposit invoice
|
||||
ValidateGeneratedDeposit=Validate the generated deposit
|
||||
DepositGenerated=Deposit generated
|
||||
|
||||
Loading…
Reference in New Issue
Block a user