change case
This commit is contained in:
parent
fddd3156b1
commit
8175d90816
@ -2191,7 +2191,7 @@ if (empty($reshook))
|
|||||||
// Outing situation invoice from cycle
|
// Outing situation invoice from cycle
|
||||||
elseif ($action == 'confirm_situationout' && $confirm == 'yes' && $user->rights->facture->creer)
|
elseif ($action == 'confirm_situationout' && $confirm == 'yes' && $user->rights->facture->creer)
|
||||||
{
|
{
|
||||||
$object->fetch($id,'', '','', TRUE);
|
$object->fetch($id,'', '','', true);
|
||||||
|
|
||||||
if ($object->statut == Facture::STATUS_VALIDATED
|
if ($object->statut == Facture::STATUS_VALIDATED
|
||||||
&& $object->type == Facture::TYPE_SITUATION
|
&& $object->type == Facture::TYPE_SITUATION
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user