Fix phpcs
This commit is contained in:
parent
8bade0e4e7
commit
d414bcb572
@ -314,8 +314,7 @@ if ($outputalsopricetotalwithtax) {
|
|||||||
$coldisplay++;
|
$coldisplay++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->statut == 0 && ($object_rights->creer) && $action != 'selectlines') {
|
if ($this->statut == 0 && !empty($object_rights->creer) && $action != 'selectlines') {
|
||||||
|
|
||||||
$situationinvoicelinewithparent = 0;
|
$situationinvoicelinewithparent = 0;
|
||||||
if ($line->fk_prev_id != null && in_array($object->element, array('facture', 'facturedet'))) {
|
if ($line->fk_prev_id != null && in_array($object->element, array('facture', 'facturedet'))) {
|
||||||
if ($object->type == $object::TYPE_SITUATION) { // The constant TYPE_SITUATION exists only for object invoice
|
if ($object->type == $object::TYPE_SITUATION) { // The constant TYPE_SITUATION exists only for object invoice
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user