English Boards > Support

Invoice bill template with change due and tendered amount errror

<< < (2/3) > >>

zahirramputh:
Hi
This is my printer template in footer and can you tell me what 2 rules needed to create because i do not have a pole display.If possible can you guide me for the whole setting of this option in invoice print.Thanks

<F>=
<EB>
<J10>{IF DISCOUNT}
<J10>[Total Gift:|{GIFT TOTAL}]
<J10>Total:|{TICKET TOTAL}
{IF PAID}
<J10>Tendered|Rs{Tickettag:Tendered}
<J10>Change Due|Rs{TicketTag:Change Due}
<DB>
<F>=
<C10>T H A N K    Y O U

zahirramputh:
Hi lemmings

No i would just print my ticket before closing the bill and can you give me your setting for tendered and change amount in details

lemmings:
You need to use capital letters for TICKET TAG - The tags are case sensitive.

I will send my rules/actions over but as I stated I handled it slightly different so it worked properly when printing receipts for split bills, so that a balance was printed of only a part-payment was made, hence why my receipts are set to print manually when a payment is received and before you hit close button on payment screen.

JohnS:
Rules and Actions as follows - Taken from http://forum2.sambapos.org/index.php/topic,218.msg1144.html#msg1144


Add Change Due & Tendered to Receipt Template
Settings -> Printer Templates -> {Select your receipt template} -> Edit Printer Template
   - Add the following into the Footer Template section (format as required)
      <J00>Tendered|${TICKETTAG:Tendered}
      <J00>Change Due|${TICKETTAG:Change Due}

Add new Action Ticket Tag - Amount Tendered
Settings -> Actions -> Add Action
   - Action Name = Ticket Tag - Tendered
   - Action Type = Update Ticket Tag
   - Tag Name = Tendered
   - Tag Value = [Setting Value]

Add new Action Ticket Tag - Change Due
Settings -> Actions -> Add Action
   - Action Name = Ticket Tag - Change Due
   - Action Type = Update Ticket Tag
   - Tag Name = Change Due
   - Tag Value = [Setting Value]

Add new Rule for Update Change Due & Tendered
Settings -> Rules -> Add Rule
   - Rule Name = Update Change Due and Tendered
   - Event Name = Change Amount Updated
   - Actions
      - Ticket Tag - Tendered - Setting Value = [TenderedAmount]
      - Ticket Tag - Change Due - Setting Value = [ChangeAmount]

Add new Rule for no Change Due
Settings -> Rules -> Add Rule
   - Rule Name = No Change Due
   - Event Name = Payment Received
   - Conditions
      - Setting Check - TENDERED = 0
   - Actions
      - Update Tendered Amount - Setting Value = [Amount]
      - Ticket Tag - Tendered - Setting Value = [Amount]
      - Ticket Tag - Change Due - Setting Value = 0.00

zahirramputh:



Hi john

Last step in this setting it tell to add new rule for 3 actions but when created it tells to create only 2 actions

 Ticket Tag - Tendered
 Ticket Tag - Change Due

So where do i get the action: update tendered amount???????

can you please clarify?


Add new Rule for no Change Due
Settings -> Rules -> Add Rule
   - Rule Name = No Change Due
   - Event Name = Payment Received
   - Conditions
      - Setting Check - TENDERED = 0
   - Actions
      - Update Tendered Amount - Setting Value = [Amount]
      - Ticket Tag - Tendered - Setting Value = [Amount]
      - Ticket Tag - Change Due - Setting Value = 0.00

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version