Menu

#54 Ability to "hide" tax categories from tickets

0.54
open
nobody
None
2022-09-23
2016-01-02
Ray
No

Any countries that have multiple tax schemes and need to account for them would benefit from being able to make some catagories like a "Grouping" catagory. It would only be used for that purpose so is not neeeded to be displayed in the ticket. As well as the no tax catagory because it never shows a value. A simple switch "Hide from ticket" would be an excellent feature in the tax catagory section.

Discussion

  • DVBHardware

    DVBHardware - 2016-01-02

    If you want to hide a tax from printing that = 0 you can edit printer ticket

            <line>
                <text>------------------------------------------</text>
            </line>
            <line>
                <text>Items count: </text>
                <text align ="left" length="14">${ticket.printArticlesCount()}</text>
            </line>
            <line>
                <text align ="left" bold="true" length="16">Subtotal:</text>
                <text align ="right"  bold="true" length="26">${ticket.printSubTotal()}</text>
            </line>
    <!--start tax 0 do not show -->
          #foreach ($taxinfo in $taxes)
            #set( $taxline = $ticket.getTaxLine($taxinfo))
        #if ($taxline.getSubTotal()==0.0)
        #else
            <line>
            <text align ="left" length="30">${taxline.getTaxInfo()}</text>
            <!-- <text align ="right" length="12">${taxline.printSubTotal()}</text> -->
            <text align ="right" length="12">${taxline.printTax()}</text>
            </line>
            #end
             #end
    <!-- End Tax 0 do not show -->
    
     
  • Capyes

    Capyes - 2022-07-03

    how would it be for version 1.4.7?

     
  • Capyes

    Capyes - 2022-08-06

    Nobody can adapt for 1.4.7?

     

Log in to post a comment.

MongoDB Logo MongoDB