This template prints the cash balance in the drawer
Maintenance > Resources
Use this script in Printer.CloseCash or Printer.PartialCash or Printer.CloseCashMail.
#set ( $drawercash = 0.00 ) #foreach ($line in $payments.getPaymentLines()) #if ($line.getType().substring(0,4).equals("cash")) #set( $drawercash = $drawercash + $line.getValue() ) #end #end <line> <text align="left" length="28" bold="true">Total Cash In Drawer</text> <text align="right" length="20" bold="true">$payments.formatCurrency($drawercash)</text> </line> Save & restart