Hi, I have tried by myself but I can’t solve it. when I print the bill above from 1 page then the “Total, Grand Total, Discount, due amount, paid amount” is shown on every page at the end. I want to show it only at the of the bill on the last page. Kindly check the attached pdf file as an example that is occurring.
- MSAnswered
Hello,
You can add
table tfoot { display: table-row-group; }
to style before clsoing of@media print {
in thethemes/default/views/pos/view.php
file.Thank you
- IAnswered
One problem has been solved at the first time when the bill generated the total amount, due amount… shown on the last page of the bill, but after when I go back to POS and later on when I click on the bill view and want to print the bill then it showed the same problem “Total, Due amount, grand total, discount…” shown on every page of the bill at the end. I have attached both bills one bill generated at the first time and the other one when I go back to POS and want to print later on.
- IAnswered
Thanks for your support
- MSAnswered
Hello,
The style was for full page receipt. To apply to modal, you can add the styles to header file
themes/default/views/header.php
in head before</head>
like<style> @media print { table tfoot { display: table-row-group; } } </style>
Thank you
- IAnswered
Thanks alot
- Login to Reply