Adding Taxes and Change Due to templates

#1

Here are some example templates if anyone wants them.
They are in English.
I am by no means really great at any of this, but thought that it could help others save time.
Scouring the forum takes too long sometimes.

— REGULAR TEMPLATE —
58%20PM

[LAYOUT]
-- General layout
<T>Ticket
<L00>Date:{TICKET DATE}
<L00>Time:{TIME}
{ENTITIES}
<L00>Ticket No:{TICKET NO}
<L00>Server:{USER NAME}
<F>=
{ORDERS}
<F>=
<EB>

{DISCOUNTS}
<J10>Sub Total:|{PLAIN TOTAL}
{TAXES}

[<J10>Total Gift:|{ORDER STATE TOTAL:Gift}]

{SERVICES}
<J10>Total:|{TICKET TOTAL}

{PAYMENTS}
<DB>
<F>=
<C10>T H A N K   Y O U

[DISCOUNTS]
<J00>{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}

[SERVICES]
<J00>{CALCULATION NAME}|{CALCULATION TOTAL}

[PAYMENTS]
<J00>{PAYMENT NAME}|{TENDERED TOTAL}
<J00>Change Due:|{CHANGE TOTAL}

[ORDERS]
-- Default format for orders
<J00>- {QUANTITY} {NAME}|{TOTAL PRICE}
{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}

[ORDER TAGS:General Modifiers]
-- leave empty to disable printing - mc

[ENTITIES:Table]
-- Table entity format
<L00>Table: {ENTITY NAME}

[ENTITIES:Customer]
-- Customer entity format
<J00>Customer: {ENTITY NAME} | {ENTITY DATA:Phone}

[TAXES]
<J00>Tax Amount:|{TAX AMOUNT}
<F>=

— HTML TEMPLATE —

42%20AM

[LAYOUT]
<br>
-- General layout
<div style="margin:0 0 5 0;border:0 0 1 0;border-color:black">
	<div style="text-align:center;font-size:18;font-weight:bold;margin:0 0 5 0">
		Receipt
	</div>
    <div style="text-align:center;font-size:14;font-weight:bold;margin:0 0 5 0">
    	Kennel Club Steakhouse<br/>Batesville, MS
	</div>
	<br>
	<div align=left>Date: {TICKET DATE}</div>
	<div align=left>Time: {TIME}</div>
	<div align=left>Ticket No: {TICKET NO}</div>
<table style="font-size:12">
	<tr>
		<td width="14*" align=left>Server: {USER NAME}</td><td width="14*" align=right>{ENTITIES}</td>
	</tr>
</table>
	<br>
 </div>

</div>

<table width=200>
{ORDERS}
</table>

<div style="font-weight:bold;margin:0 0 5 0;padding:5 0 5 0;border:1 0 1 0;border-color:black">

[<table>
<tr>
    <td width="14*" align=left>Sub Total</td><td width="6*" align=right>[[={TICKET ORDER TOTAL EXP:(ODI=True)}!={TICKET TOTAL}?'{TICKET ORDER TOTAL EXP:(ODI=True)}':'']]</td>
</tr>
</table>]

{TAXES}

{DISCOUNTS}
[<table>
<tr>
	<td width="14*" align=left>Total Gift</td><td width="6*" align=right>-{ORDER STATE TOTAL:Gift}</td>
</tr>
</table>]
{SERVICES}

[<table>
	<tr>
	<td width="14*" align=left>Grand Total</td><td width="6*" align=right>{TICKET TOTAL}</td>
	</tr>
	</tr>
</table>]

<table style="font-size:16">

</table>

<div align=center style="border:0 0 1 0;border-color:black;padding:15 0 5 0">[={PAYMENT TOTAL}>0?'PAYMENTS':'']</div>

<table>
{PAYMENTS}
</table>

-- Thank You Area --

</div> 
<div style="font-size:12px;text-align:center">T H A N K   Y O U</div>



[DISCOUNTS]
<table>
<tr>
	<td width="14*" align=right>{CALCULATION NAME} %{CALCULATION AMOUNT}</td>
	<td width="6*" align=right>{CALCULATION TOTAL}</td>
</tr>
</table>

[TAXES]
<table>
<tr>
	<td width="14*">Tax Total:</td>
	<td width="6*" align=right>{TAX AMOUNT}</td>
</tr>
</table>
[SERVICES]
<table>
<tr>
	<td width="14*" align=right>{CALCULATION NAME}</td>
	<td width="6*" align=right>{CALCULATION TOTAL}</td>
</tr>
</table>

[PAYMENTS]
<tr>
	<font size="3">
	<td width="14*">Total:</td>
	<td width="6*" align=right>{PAYMENT AMOUNT}</td>
<tr>	<td width="14*">{PAYMENT NAME}:</td>
	<td width="6*" align=right>{TENDERED TOTAL}</td>
<tr>	<td width="14*">Change Due:</td>
	<td width="6*" align=right>{CHANGE TOTAL}</td>
	</font>
</tr>


[ORDERS]
-- Default format for orders
<tr>
	<font size="3">
	<td width="2*" align=right>{QUANTITY} </td>
	<td width="14*">{NAME}</td>
	<td width="4*" align=right>{TOTAL AMOUNT}</td>
	</font>
</tr>
<tr>
	<td colspan=3>
	{ORDER TAGS}
	</td>
</tr>
[ORDERS:Gift]
-- Format for gifted orders
<tr>
	<td width="2*" align=right>{QUANTITY} </td>
	<td width="14*">{NAME} (Gift) </td>
	<td width="4*" align=right>{TOTAL AMOUNT}</td>
</tr>
<tr>
	<td colspan=3>
	{ORDER TAGS}
	</td>
</tr>
[ORDERS:Void]
-- Nothing will print for void lines

[ORDER TAGS]
-- Format for order tags
<div style="padding:0 0 0 30">* [={ORDER TAG QUANTITY}>1?'{ORDER TAG QUANTITY} X ':'']{ORDER TAG NAME} [({ORDER TAG TOTAL PRICE})]</div>

[ENTITIES:Table]
-- Table entity format
<div align=right>Table: {ENTITY NAME}</div>

[ENTITIES:Customer]
-- Customer entity format
<div>Customer: {ENTITY NAME} {ENTITY DATA:Phone}</div>
3 Likes