add hidden conf
This commit is contained in:
parent
c67ab2a758
commit
fddd3156b1
@ -4683,6 +4683,7 @@ else if ($id > 0 || ! empty($ref))
|
||||
&& $user->rights->facture->creer
|
||||
&& !$objectidnext
|
||||
&& $object->is_last_in_cycle()
|
||||
&& $conf->global->INVOICE_USE_SITUATION_CREDIT_NOTE
|
||||
)
|
||||
{
|
||||
if ((empty($conf->global->MAIN_USE_ADVANCED_PERMS) && ! empty($user->rights->facture->creer))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user