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 @@