mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
FIX - php V8 get number doc saphir
This commit is contained in:
@@ -144,7 +144,7 @@ class mod_propale_saphir extends ModeleNumRefPropales
|
||||
// Get entities
|
||||
$entity = getEntity('proposalnumber', 1, $propal);
|
||||
|
||||
$date = $propal->date;
|
||||
$date = isset($propal->date)?$propal->date:dol_now();
|
||||
|
||||
$numFinal = get_next_value($db, $mask, 'propal', 'ref', '', $objsoc, $date, 'next', false, null, $entity);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user