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