Author Topic: Invoice bill template with change due and tendered amount errror  (Read 16277 times)

zahirramputh

  • Newbie
  • *
  • Posts: 36
Hi

I have followed all step given here on this link to set tendered amount and change due but am not able to have it on my invoice it is coming as written in printer template  ,

${TICKETTAG:Tendered}
${TICKETTAG:Change Due}

 can anyone help,please its urgent


JohnS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 677
Re: Invoice bill template with change due and tendered amount errror
« Reply #1 on: July 01, 2013, 07:01:00 am »
I bet you are using V3.

The correct printer template tags to use are

${TICKET TAG:Tendered}
${TICKET TAG:Change Due}

All topics NOT listed under V3 Development relate to SambaPOS V2.
As I get time I will re-write the Quick Reference Guide for V3.
SambaPOS - POS'n the World, one Terminal at a time.

zahirramputh

  • Newbie
  • *
  • Posts: 36
Re: Invoice bill template with change due and tendered amount errror
« Reply #2 on: July 01, 2013, 10:04:07 am »
No am using version 2.9 and am no able to set tendered amount and change due in invoice template .....plese anyone can help?

lemmings

  • Full Member
  • ***
  • Posts: 165
Re: Invoice bill template with change due and tendered amount errror
« Reply #3 on: July 01, 2013, 12:31:01 pm »
I setup my tendered and change due slightly different and used {SETTING:} rather than {TICKETTAG:} as I found this printer tag did not always record the  paid amount and change due as my set-up prints the receipt to the customer before the ticket is closed.

The instructions on this forum do work and I would double-check all the rules and actions are correct.

Is the document you are trying to print after payment has been accepted

JohnS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 677
Re: Invoice bill template with change due and tendered amount errror
« Reply #4 on: July 01, 2013, 08:15:20 pm »
@lemmings
Ticket tags for Tendered & Change Due are set at payment received which means they will show on receipts printed after the payment is made.
If you print the receipt before payment is made the receipt will show nothing for tendered & change due.
Try changing your Rule to update the Ticket Tags on Change Amount Updated instead of Payment Received.

@zahirramputh
You have missed something in the setup.
If you are NOT using a Pole Display, there is only 2 Actions & 2 Rules needed. As lemmings has stated, this does work even for V3 (with a couple of changes).

Please show us your printer template.
SambaPOS - POS'n the World, one Terminal at a time.

zahirramputh

  • Newbie
  • *
  • Posts: 36
Re: Invoice bill template with change due and tendered amount errror
« Reply #5 on: July 01, 2013, 11:32:53 pm »
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

  • Newbie
  • *
  • Posts: 36
Re: Invoice bill template with change due and tendered amount errror
« Reply #6 on: July 02, 2013, 12:55:40 am »
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

  • Full Member
  • ***
  • Posts: 165
Re: Invoice bill template with change due and tendered amount errror
« Reply #7 on: July 02, 2013, 01:36:53 am »
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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 677
Re: Invoice bill template with change due and tendered amount errror
« Reply #8 on: July 02, 2013, 02:00:10 am »
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
SambaPOS - POS'n the World, one Terminal at a time.

zahirramputh

  • Newbie
  • *
  • Posts: 36
Re: Invoice bill template with change due and tendered amount errror
« Reply #9 on: July 02, 2013, 07:25:48 am »



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

JohnS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 677
Re: Invoice bill template with change due and tendered amount errror
« Reply #10 on: July 02, 2013, 07:32:30 am »
Forget about Update Tendered Amount - that's for a pole display.
SambaPOS - POS'n the World, one Terminal at a time.

zahirramputh

  • Newbie
  • *
  • Posts: 36
Re: Invoice bill template with change due and tendered amount errror
« Reply #11 on: July 04, 2013, 02:25:29 am »
Thanks john it did work ,but now when the customer paid exact ticket amount nothing is being printed on the invoice print for tendered and change due.I want 0.00 to appear when there is no tendered amount or change due .Is it possible?