DE
Asked
Hi,
i noticed that Tax details don't appear on receipt when using **Product Tax** instead of Order Tax. Can you possibly give me direction as to **how to display tax on invoice when using Product Tax**.
We are using product inclusive tax format, and wish to let customers see tax amount appear on their receipt. So if possible, kindly guide me on how to: **Display it just before the Grand Total**.
Thank you
i noticed that Tax details don't appear on receipt when using **Product Tax** instead of Order Tax. Can you possibly give me direction as to **how to display tax on invoice when using Product Tax**.
We are using product inclusive tax format, and wish to let customers see tax amount appear on their receipt. So if possible, kindly guide me on how to: **Display it just before the Grand Total**.
Thank you
- MSAnsweredHello,
I will display it in next update. For now you can edit `themes/default/views/pos/view.php` for web browser and `themes/default/views/pos/eview.php` for php & print server and the lines below.
In `themes/default/views/pos/view.php` around line 117 you can add the following
```
if ($inv->total_tax != 0) {
echo '<tr><th class="text-left" colspan="2">' . lang('tax') . '</th><th colspan="2" class="text-right">' . $this->tec->formatMoney($inv->total_tax) . '</th></tr>';
}
```
while in `themes/default/views/pos/eview.php` around line no 130
```
if ($inv->total_tax != 0) {
echo '<tr><th class="text-left">' . lang('tax') . '</th><th class="text-right">' . $this->tec->formatMoney($inv->total_tax) . '</th></tr>';
}
```
and in `themes/default/views/pos/remote_printing.php` around line 65
```
if ($inv->total_tax != 0) { ?>
receipt.totals += "<?= printLine(lang('tax') . ': ' . $this->tec->formatMoney($inv->total_tax), $char_per_line); ?>" + "\n";
<?php
}
```
Thank you - DEAnsweredAlright.
Thank you a lot for your time. - Login to Reply