add hidden conf

This commit is contained in:
John 2018-05-16 16:15:30 +02:00
parent c67ab2a758
commit fddd3156b1

View File

@ -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))