forked from Wavyzz/dolibarr
Fixing style errors.
This commit is contained in:
@@ -184,7 +184,7 @@ if (($line->info_bits & 2) == 2) {
|
|||||||
if (!$line->date_start || !$line->date_end) {
|
if (!$line->date_start || !$line->date_end) {
|
||||||
// show warning under line
|
// show warning under line
|
||||||
// we need to fetch product associated to line for some test
|
// we need to fetch product associated to line for some test
|
||||||
if ($object->element != 'order_supplier'){
|
if ($object->element != 'order_supplier') {
|
||||||
$res = $line->fetch_product();
|
$res = $line->fetch_product();
|
||||||
if ($res > 0 ) {
|
if ($res > 0 ) {
|
||||||
if ($line->product->isService() && $line->product->isMandatoryPeriod()) {
|
if ($line->product->isService() && $line->product->isMandatoryPeriod()) {
|
||||||
@@ -192,7 +192,6 @@ if (($line->info_bits & 2) == 2) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user