commit
af222e3622
@ -2484,8 +2484,8 @@ if ($action == 'create')
|
|||||||
$htmltext='';
|
$htmltext='';
|
||||||
if (GETPOST('fac_rec','int') > 0)
|
if (GETPOST('fac_rec','int') > 0)
|
||||||
{
|
{
|
||||||
$dateexample=dol_now();
|
$dateexample=($datefacture ? $datefacture : $dateinvoice);
|
||||||
if (! empty($datefacture?$datefacture:$dateinvoice)) $dateexample=($datefacture?$datefacture:$dateinvoice);
|
if (empty($dateexample)) $dateexample=dol_now();
|
||||||
$substitutionarray=array(
|
$substitutionarray=array(
|
||||||
'__TOTAL_HT__' => $langs->trans("AmountHT").' ('.$langs->trans("Example").': '.price($exampletemplateinvoice->total_ht).')',
|
'__TOTAL_HT__' => $langs->trans("AmountHT").' ('.$langs->trans("Example").': '.price($exampletemplateinvoice->total_ht).')',
|
||||||
'__TOTAL_TTC__' => $langs->trans("AmountTTC").' ('.$langs->trans("Example").': '.price($exampletemplateinvoice->total_ttc).')',
|
'__TOTAL_TTC__' => $langs->trans("AmountTTC").' ('.$langs->trans("Example").': '.price($exampletemplateinvoice->total_ttc).')',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user