TP
Asked
My before invoice and using POS Printer server invoice are different.
Normal web print showing:
Paid by, Amount, Change and clear invoice design
But now
Not showing : Paid by, Amount, Change
Duplicate Name large and small size on header
I want to remove the QR code - Plz guide me and share the file pathe and code line
Have more issues on ailments and line issues
How I fix.? Why difference between this
I try to edit view.php but not update chagers
Before work with this file. How now I edit or change this?
Please guide and fix the invoice missing elements
Thank you/
Share the immediately correct files or update
Normal web print showing:
Paid by, Amount, Change and clear invoice design
But now
Not showing : Paid by, Amount, Change
Duplicate Name large and small size on header
I want to remove the QR code - Plz guide me and share the file pathe and code line
Have more issues on ailments and line issues
How I fix.? Why difference between this
I try to edit view.php but not update chagers
Before work with this file. How now I edit or change this?
Please guide and fix the invoice missing elements
Thank you/
Share the immediately correct files or update
- MSAnsweredHello,
Can you please share the the screenshot? - TPAnsweredI already attended before ticket. Again I attached the images here
- MSAnsweredHello,
The old one is printed as browser but the second one is raw print command for POS Print Server.
The view file is `themes/default/admin/views/pos/view.php` You can search for `qrcode`
For POS print receipt the file is `themes/default/admin/views/pos/remote_printing.php` and you can search for `qrcode_base64` for reference to modify the code.
Thank you - TPAnsweredHave some missing items:
Not showing : Paid by, Amount, Change
Duplicate Name large and small size on header - TPAnsweredInvoice design and contents are totally different. can you update the mission items for the remote_printing.php
view.php print output is perfect and good. But the remote_printing have issues.
Check before attached screen shots. - MSAnsweredHello,
The HTML and Print Server templates are different. We will try to resolve this in the v4.
Thank you - TPAnsweredPlease immediately update and release the new version and fix the bug. Waiting for this
- MSAnsweredHello,
Yes, we are adding the print option in v4 and will release the update once completed. We are trying to make it in this week.
Thank you - TPAnsweredI check the last update files but it can't see.
Finaly I remove the QR code
But Not showing : Paid by, Amount, Change
How it fix?
Stock Manager Advance with POS Module v3.5-2.5
and
Stock Manager Advance with POS Module POS Module v3.5.5
Please fix and share the remote_printing.php file - MSAnsweredHello,
The pos receipt view file is `themes/default/admin/views/pos/view.php` You can find the line
```php
if ($inv->order_discount != 0) {
echo '' . lang('order_discount') . '' . $this->sma->formatMoney($return_sale ? ($inv->order_discount + $return_sale->order_discount) : $inv->order_discount) . '';
}
```
and modify as you need
```php
if ($inv->product_discount != 0) {
echo '' . lang('product_discount') . '' . $this->sma->formatMoney($return_sale ? ($inv->product_discount + $return_sale->product_discount) : $inv->product_discount) . '';
}
if ($inv->order_discount != 0) {
echo '' . lang('order_discount') . '' . $this->sma->formatMoney($return_sale ? ($inv->order_discount + $return_sale->order_discount) : $inv->order_discount) . '';
}
if ($inv->total_discount != 0) {
echo '' . lang('total_discount') . '' . $this->sma->formatMoney($return_sale ? ($inv->total_discount + $return_sale->total_discount) : $inv->total_discount) . '';
}
```
For raw printing using POS Print server the view file is `themes/default/admin/views/pos/remote_printing.php`
You can search for
```php
receipt.totals += "<?= printLine(lang('discount') . ': (' . $this->sma->formatMoney($return_sale ? ($inv->product_discount + $return_sale->product_discount) : $inv->product_discount) . ') ' . $this->sma->formatMoney($return_sale ? ($inv->order_discount + $return_sale->order_discount) : $inv->order_discount), $char_per_line); ?>" + "\n";
```
and modify
```php
receipt.totals += "<?= printLine(lang('product_discount') . ': ' . $this->sma->formatMoney($return_sale ? ($inv->product_discount + $return_sale->product_discount) : $inv->product_discount), $char_per_line); ?>" + "\n";
receipt.totals += "<?= printLine(lang('order_discount') . ': ' . $this->sma->formatMoney($return_sale ? ($inv->order_discount + $return_sale->order_discount) : $inv->order_discount), $char_per_line); ?>" + "\n";
receipt.totals += "<?= printLine(lang('total_discount') . ': ' . $this->sma->formatMoney($return_sale ? ($inv->total_discount + $return_sale->total_discount) : $inv->total_discount), $char_per_line); ?>" + "\n";
```
Thank you - Login to Reply