Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-mbs committed Jul 8, 2024
1 parent 7989d46 commit 2f4c8c4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions www/app/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -1084,6 +1084,7 @@ public static function printItems(array $items, $pqty=0,array $tags=[]) {
$header['garterm'] = $item->warranty;
$header['country'] = $item->country;
$header['brand'] = $item->manufacturer;
$header['notes'] = $item->notes;


if (strlen($item->url) > 0 && $printer['pqrcode'] == 1) {
Expand Down Expand Up @@ -1206,6 +1207,7 @@ public static function printItemsEP(array $items, $pqty=0,array $tags=[]) {
$header['garterm'] = $item->warranty;
$header['country'] = $item->country;
$header['brand'] = $item->manufacturer;
$header['notes'] = $item->notes;

$header['price'] = self::fa($item->getPrice($printer['pricetype']));
if(intval($item->price) > 0) {
Expand Down
1 change: 1 addition & 0 deletions www/app/pages/service/armfood.php
Original file line number Diff line number Diff line change
Expand Up @@ -1391,6 +1391,7 @@ public function createdoc() {
$this->_doc->headerdata['forbar'] = $this->docpanel->listsform->forbar->isChecked() ? 1 : 0;
$this->_doc->headerdata['arm'] = 1;
$this->_doc->document_date = time();
$this->_doc->headerdata['time'] = time();

$this->_doc->headerdata['contact'] = $this->docpanel->listsform->contact->getText();
$this->_doc->notes = $this->docpanel->listsform->notes->getText();
Expand Down
2 changes: 2 additions & 0 deletions www/app/pages/service/armpos.php
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,8 @@ public function newdoc($sender) {
$this->docpanel->form3->document_date->setDate(time());
$this->_doc = \App\Entity\Doc\Document::create('POSCheck');
$this->_doc->headerdata['arm'] = 1;
$this->_doc->headerdata['time'] = time();

$this->docpanel->form3->document_number->setText($this->_doc->nextNumber());


Expand Down
1 change: 1 addition & 0 deletions www/templates/pages/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ <h4>Параметри для етикеток і цінників</h4>
<tr><td><b>country</b></td><td>Країна-виробник</td></tr>
<tr><td><b>garterm</b></td><td>Гарантiйний термін</td></tr>
<tr><td><b>brand</b></td><td>Бренд</td></tr>
<tr><td><b>notes</b></td><td>Примітка</td></tr>

<tr><td colspan="2" align="center">Управляючi теги</td></tr>
<tr><td><b>isprice</b></td><td>Друкувати цiну</td></tr>
Expand Down

0 comments on commit 2f4c8c4

Please sign in to comment.