I think {ORDER STATE TOTAL:X} or {ORDER TAG TOTAL:X} should work. X is order state/tag Taxable.
He is not using Order Tags however for the tax. He is using a Tax Template. The state is how he is defining if its Taxable or not.
Ok maybe I am the confused one. How are you calculating your tax per order? Your using the Template mapped to product group?
I think now he just want total taxable amount on receipt, not individual item now.
Yes but how is he defining that is what I am trying to figure out.
I think he use ORDER STATE name “GST @ 6% APPLIED” (from picture he post above)
So, {ORDER STATE TOTAL:GST @ 6% APPLIED} should give to total taxable amount
You are right that should work. I think he is using Item Tags to decide which order gets the state. If that is true then he technically wouldnt need the state at all. He could just use the item tags. But its hard for me to say based off just his printer template.
sukasen is correct,i just wanna display the total taxable amount.Well the {ORDER STATE TOTAL:GST @ 6% APPLIED} returns “0.00” .
My Product Tag
My Automation Rule
Tax Template
POS
Printing Templates
[LAYOUT]
-- General layout
<BMP>c:\mega.bmp
<L>----------------
<J00>
<J00>Date:{TICKET DATE}|Receipt No:{TICKET NO}
<J00>
<F>-
{ORDERS}
<F>-
{DISCOUNTS}
<F>-
<J00>Taxable {ORDER STATE TOTAL:GST @ 6% APPLIED}
<J00>GST @ 6% Total :| {TAX TOTAL}
<F>-
<J10>Total:|{TICKET TOTAL}
{PAYMENTS}
<DB>
<L>
<J00>============== Tax Added ===============
<J00>
<EB>
<F>*
<L> * Thank you for shopping with us! *
<F>*
<DB>
[DISCOUNTS]
<J00>{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}
[PAYMENTS]
<J00>{PAYMENT NAME}|{PAYMENT AMOUNT}
[ORDERS]
-- Default format for orders
<J00>- {QUANTITY} {NAME}|{TOTAL AMOUNT}| {ITEM TAG:GST}
{ORDER TAGS}
[ORDERS:Gift]
-- Format for gifted orders
<J00>- {QUANTITY} {NAME}|**GIFT**
{ORDER TAGS}
[ORDERS:Void]
-- Nothing will print for void lines
[ORDER TAGS]
-- Format for order tags
<J00> * {ORDER TAG NAME} | {ORDER TAG PRICE}
We have {TAXES} template section (works like {ORDERS} or {PAYMENTS}) did you tried this?
You can find some sample uses here
Hmm, I just checked it out. {ORDER STATE TOTAL:X} return 0.00 too.
@emre could you check please
It would not be {ORDER STATE TOTAL:GST @ 6% APPLIED} it would be {ORDER STATE TOTAL:Status} if your using Status as state name that your applying state GST @ 6% APPLIED
Can you show your action Update order state GST?
Whatever State Name is in the action is what would go in X for {ORDER STATE TOTAL:X}
States are case-sensitive. Since your Rule is setting the Order State using mixed-case, you should use this instead:
{ORDER STATE TOTAL:GST @ 6% Applied}
You know what Maybe your right scratch what I said. Good catch @QMcKay
sukandes,Still its return “0.00”…)
Can you pm me a backup of your database I will look at it?
Yea sure…samba_backup_201504071130CEM.zip (219.2 KB)
Thank you please try and send these in a PM because it could contain information you may not want everyone to see.
So your using CE?
Delete the extra spaces
When fixed here is what it produced:
----------------
Date:4/6/2015 Receipt No:97
------------------------------------------
- 1 Roti Naan 2.00 S
------------------------------------------
------------------------------------------
Taxable 2.00
GST @ 6% Total : 0.12
------------------------------------------
Total: 2.12
Cash 2.12
============== Tax Added ===============
******************************************
* Thank you for shopping with us! *
******************************************
I highly recommend you switching to SQL … CE will limit your capability it is also slower performance than SQL.
That works!,Thanks kendash,What a dumb mistake.
Anyway is there is any way to filter the products by product tag?
Somthing like.
{ORDER TAG TOTAL:S}
ITEM TAG PLAIN TOTAL:X Item Tag Plain Total
ITEM TAG TOTAL:X Item Tag Total
Both available