since the plain total will be 0.00 (Zero) because of 100% discount of all items being gift. here is the template.
<T>Ticket <J00>Date:{TICKET DATE}|Time:{TIME} <L00>Ticket No:{TICKET NO} {ENTITIES} <F>- {ORDERS} <F>= <EB> <J00>Subtotal:|{PLAIN TOTAL} {DISCOUNTS} [<J10>Total Gift:|{ORDER STATE TOTAL:Gift}] <J10>Total:|{TICKET TOTAL} {PAYMENTS} <DB> <F>= <C10>T H A N K Y O U
Still I'm unable to crash it :) I've attached screenshots of what your sample database prints when all orders are gift or %100 discount. Does additional actions needed before printing?
The system is working properly until i am not adding a Tax Template. As soon as i add a Tax Template to the system it starts crashing at the time of table closure
I have downloaded your source version 3.0. Now i want to incorporate your above mentioned fixes (for tax calculation on Gift Items) in it. How and where can i get the source for that fix?
10 answers
I couldn't reproduce it. Can you elaborate?
It is arising because of {PLAIN TOTAL}
since the plain total will be 0.00 (Zero) because of 100% discount of all items being gift. here is the template.
<T>Ticket
<J00>Date:{TICKET DATE}|Time:{TIME}
<L00>Ticket No:{TICKET NO}
{ENTITIES}
<F>-
{ORDERS}
<F>=
<EB>
<J00>Subtotal:|{PLAIN TOTAL}
{DISCOUNTS}
[<J10>Total Gift:|{ORDER STATE TOTAL:Gift}]
<J10>Total:|{TICKET TOTAL}
{PAYMENTS}
<DB>
<F>=
<C10>T H A N K Y O U
Still can't generate the error. Can you send me a backup of your database to emre@sambapos.com?
Or the error message might help too.
I have sent you the database.
And there is no error message. SambaPOS crashes when this happens.
Still I'm unable to crash it :) I've attached screenshots of what your sample database prints when all orders are gift or %100 discount. Does additional actions needed before printing?
Sorry Emre,
Actually I did something to the source code which brought that problem, It works fine now. Thanks
No need to be sorry. Have fun :)
The system is working properly until i am not adding a Tax Template. As soon as i add a Tax Template to the system it starts crashing at the time of table closure
I have downloaded your source version 3.0. Now i want to incorporate your above mentioned fixes (for tax calculation on Gift Items) in it. How and where can i get the source for that fix?