Question: Total Amount Is Shown On Every Page Of The Bill

Total Amount Is Shown On Every Page Of The Bill

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

I

IrfanUllahsafi

Asked

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.

  • MS

    Mian Saleem

    Answered

    Hello,

    You can add table tfoot { display: table-row-group; } to style before clsoing of @media print { in the themes/default/views/pos/view.php file.

    Thank you

  • I

    IrfanUllahsafi

    Answered

    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.

  • I

    IrfanUllahsafi

    Answered

    Thanks for your support

  • MS

    Mian Saleem

    Answered

    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

  • I

    IrfanUllahsafi

    Answered

    Thanks alot

  • Login to Reply