fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/compta/facture/card-rec.php on line 123
Warning: Attempt to read property liretous on null in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/compta/facture/card-rec.php on line 123
This commit is contained in:
parent
26ec131048
commit
66015cb11d
@ -120,7 +120,7 @@ $usercanunvalidate = ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && !empty($
|
|||||||
|
|
||||||
$usercanproductignorepricemin = ((!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->produit->ignore_price_min_advance)) || empty($conf->global->MAIN_USE_ADVANCED_PERMS));
|
$usercanproductignorepricemin = ((!empty($conf->global->MAIN_USE_ADVANCED_PERMS) && empty($user->rights->produit->ignore_price_min_advance)) || empty($conf->global->MAIN_USE_ADVANCED_PERMS));
|
||||||
$usercancreatemargin = $user->hasRight("margins", "creer");
|
$usercancreatemargin = $user->hasRight("margins", "creer");
|
||||||
$usercanreadallmargin = $user->rights->margins->liretous;
|
$usercanreadallmargin = $user->hasRight("margins", "liretous");
|
||||||
$usercancreatewithdrarequest = $user->rights->prelevement->bons->creer;
|
$usercancreatewithdrarequest = $user->rights->prelevement->bons->creer;
|
||||||
|
|
||||||
$now = dol_now();
|
$now = dol_now();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user