From 526380a4b8994fe31cdc9a58de7d7852e5c6bc12 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Mon, 27 Sep 2021 08:10:49 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/mrp/mo_production.php | 4 ++-- htdocs/product/class/html.formproduct.class.php | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/htdocs/mrp/mo_production.php b/htdocs/mrp/mo_production.php index 9bde31e2a53..ad95164a2af 100644 --- a/htdocs/mrp/mo_production.php +++ b/htdocs/mrp/mo_production.php @@ -945,7 +945,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea if ($action == 'consumeorproduce' && !GETPOSTISSET('qty-'.$line->id.'-'.$i)) { $preselected = 0; } - + $disable = 'disabled'; if ( ($line->qty - $alreadyconsumed) > 0 ) $disable = ''; @@ -972,7 +972,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea print ''; if ($tmpproduct->status_batch) { $preselected = (GETPOSTISSET('batch-'.$line->id.'-'.$i) ? GETPOST('batch-'.$line->id.'-'.$i) : ''); - print ''.$formproduct->selectLotStock('', 'batch-'.$line->id.'-'.$i, '', 1, 0, $line->fk_product,'','','','','','',1).''; + print ''.$formproduct->selectLotStock('', 'batch-'.$line->id.'-'.$i, '', 1, 0, $line->fk_product, '', '', '', '', '', '', 1).''; //print ''; } print ''; diff --git a/htdocs/product/class/html.formproduct.class.php b/htdocs/product/class/html.formproduct.class.php index 75e731873d1..b352264d8cb 100644 --- a/htdocs/product/class/html.formproduct.class.php +++ b/htdocs/product/class/html.formproduct.class.php @@ -593,9 +593,8 @@ class FormProduct if ( $use_baseval = 1 ) $out .= '