Fixing style errors.
This commit is contained in:
parent
61753791b4
commit
c31530e7ed
@ -2232,13 +2232,12 @@ if (empty($reshook)) {
|
|||||||
$mesg = $langs->trans("CantBeLessThanMinPrice", price(price2num($price_min, 'MU'), 0, $langs, 0, 0, - 1, $conf->currency));
|
$mesg = $langs->trans("CantBeLessThanMinPrice", price(price2num($price_min, 'MU'), 0, $langs, 0, 0, - 1, $conf->currency));
|
||||||
setEventMessages($mesg, null, 'errors');
|
setEventMessages($mesg, null, 'errors');
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
// Add batchinfo if the detailline has batchinfo
|
// Add batchinfo if the detailline has batchinfo
|
||||||
|
|
||||||
if (!empty($lines[$i]->detail_batch) && ! empty($conf->global->INCUDE_BATCHINFO_ON_INVOICE)){
|
if (!empty($lines[$i]->detail_batch) && ! empty($conf->global->INCUDE_BATCHINFO_ON_INVOICE)) {
|
||||||
foreach ($lines[$i]->detail_batch as $batchline){
|
foreach ($lines[$i]->detail_batch as $batchline) {
|
||||||
$desc .= ' Batch: '.$batchline->batch.' aantal: '.$batchline->qty;
|
$desc .= ' Batch: '.$batchline->batch.' aantal: '.$batchline->qty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Insert line
|
// Insert line
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user