Fixing style errors.

This commit is contained in:
stickler-ci 2021-09-09 08:17:52 +00:00
parent 9078bcb9a9
commit dd7f6b6a5c

View File

@ -185,7 +185,7 @@ if (($line->info_bits & 2) == 2) {
if (!$line->date_start || !$line->date_end) {
// show warning under line
// we need to fetch product associated to line for some test
if ($object->element == 'propal' || $object->element == 'order' || $object->element == 'propal_supplier' || $object->element == 'supplier_proposal' || $object->element == 'commande') {
if ($object->element == 'propal' || $object->element == 'order' || $object->element == 'propal_supplier' || $object->element == 'supplier_proposal' || $object->element == 'commande') {
$res = $line->fetch_product();
if ($res > 0 ) {
if ($line->product->isService() && $line->product->isMandatoryPeriod()) {