Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-mbs committed Nov 15, 2024
1 parent 1e60a09 commit 05c71d6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions www/app/pages/register/doclist.php
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand All @@ -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) {

Expand Down
1 change: 1 addition & 0 deletions www/app/pages/register/itemlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
Expand Down
4 changes: 2 additions & 2 deletions www/templates/pages/register/itemlist.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ <h3>Товари на складі </h3>
<th>Категорія</th>
<th>Бренд</th>
<th>Од.</th>

<th> <i title="Комірка" class="fa fa-box"></i> </th>

<th class="text-right ">Кіл.</th>
{{^noshowpartion}}
Expand Down Expand Up @@ -143,7 +143,7 @@ <h3>Товари на складі </h3>
<td zippy="cat_name"></td>
<td zippy="brand"></td>
<td zippy="msr"></td>

<td zippy="cell"></td>

<td zippy="iqty" class="text-right "></td>

Expand Down

0 comments on commit 05c71d6

Please sign in to comment.