From 05c71d6e391c3a172a5111736e0e8d2d76634d04 Mon Sep 17 00:00:00 2001 From: "leon.mbs@gmail.com" Date: Fri, 15 Nov 2024 12:21:52 +0200 Subject: [PATCH] hotfix --- www/app/pages/register/doclist.php | 4 ++-- www/app/pages/register/itemlist.php | 1 + www/templates/pages/register/itemlist.html | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/www/app/pages/register/doclist.php b/www/app/pages/register/doclist.php index 10de092ca..984f250d0 100644 --- a/www/app/pages/register/doclist.php +++ b/www/app/pages/register/doclist.php @@ -720,7 +720,7 @@ public function oncsv($sender) { public function printlabels($sender) { $buf=[]; - $one = $this->statusform->print1->isChecked(); + $one = $this->statusform->print1->isChecked() ? 1:0; $items=[]; foreach($this->_doc->unpackDetails('detaildata') as $it) { if($this->_doc->meta_name=='GoodsReceipt') { @@ -731,7 +731,7 @@ public function printlabels($sender) { } $user = \App\System::getUser() ; - $ret = H::printItems($items); + $ret = H::printItems($items,$one); if(intval($user->prtypelabel) == 0) { diff --git a/www/app/pages/register/itemlist.php b/www/app/pages/register/itemlist.php index 44181d70d..a3548ff0e 100644 --- a/www/app/pages/register/itemlist.php +++ b/www/app/pages/register/itemlist.php @@ -103,6 +103,7 @@ public function itemlistOnRow( $row) { $row->add(new Label('code', $item->item_code)); $row->add(new Label('brand', $item->manufacturer)); $row->add(new Label('msr', $item->msr)); + $row->add(new Label('cell', $item->cell)); $qty = $item->getQuantity($store); $row->add(new Label('iqty', H::fqty($qty))); diff --git a/www/templates/pages/register/itemlist.html b/www/templates/pages/register/itemlist.html index 8456b8e6d..f4f0dcef8 100644 --- a/www/templates/pages/register/itemlist.html +++ b/www/templates/pages/register/itemlist.html @@ -108,7 +108,7 @@

Товари на складі

Категорія Бренд Од. - + Кіл. {{^noshowpartion}} @@ -143,7 +143,7 @@

Товари на складі

- +