commit
35e1fd5003
@ -1242,10 +1242,15 @@ if ($action == 'create') {
|
|||||||
// Display lines for extrafields of the Reception line
|
// Display lines for extrafields of the Reception line
|
||||||
// $line is a 'CommandeFournisseurLigne', $dispatchLines contains values of Reception lines so properties of CommandeFournisseurDispatch
|
// $line is a 'CommandeFournisseurLigne', $dispatchLines contains values of Reception lines so properties of CommandeFournisseurDispatch
|
||||||
if (!empty($extrafields)) {
|
if (!empty($extrafields)) {
|
||||||
//var_dump($line);
|
|
||||||
$colspan = 5;
|
$colspan = 5;
|
||||||
if (isModEnabled('productbatch')) {
|
if (isModEnabled('productbatch')) {
|
||||||
$colspan += 3;
|
$colspan += 2;
|
||||||
|
if (empty($conf->global->PRODUCT_DISABLE_SELLBY)) {
|
||||||
|
$colspan += 1;
|
||||||
|
}
|
||||||
|
if (empty($conf->global->PRODUCT_DISABLE_EATBY)) {
|
||||||
|
$colspan += 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$recLine = new CommandeFournisseurDispatch($db);
|
$recLine = new CommandeFournisseurDispatch($db);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user