Fix travis
This commit is contained in:
parent
1a842d8366
commit
7776ae6da4
@ -2484,8 +2484,7 @@ if ($action == 'create')
|
|||||||
$htmltext='';
|
$htmltext='';
|
||||||
if (GETPOST('fac_rec','int') > 0)
|
if (GETPOST('fac_rec','int') > 0)
|
||||||
{
|
{
|
||||||
$dateexample=dol_now();
|
if (empty($dateexample)) $dateexample=dol_now();
|
||||||
if (! empty($datefacture?$datefacture:$dateinvoice)) $dateexample=($datefacture?$datefacture:$dateinvoice);
|
|
||||||
$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