[New 4.1.43] New Printer Template Tags

{DATE:X}

This tag formats date as defined with X part.

Here is a sample template.

<L00>Year:{DATE:yy}-{DATE:yyyy}
<L00>Month:{DATE:MM}-{DATE:MMM}-{DATE:MMMM}
<L00>Day:{DATE:dd}-{DATE:ddd}-{DATE:dddd}
<L00>Hour:{DATE:hh}-{DATE:HH}
<L00>Minute:{DATE:mm}
<L00>Second:{DATE:ss}
<L00>Milisecond:{DATE:fff}
<L00>AM/PM:{DATE:tt}
<L00>Custom:{DATE:MMM/dd/yy hh:mm:ss tt}

This template generates that output.

{TAX AMOUNT:X}

This printer tag prints tax amount for a specific tax template. X part will be tax template name.

{ACCOUNT BALANCE:X}

Prints account balance of an account named x.

6 Likes

{PORTION:X}

Prints portion name of an order if it is different than Normal. Optionally you can define a prefix char as a separator by setting X value. For example {PORTION:.} adds . char in front of portion name. If no prefix defined nothing will print.

{PRODUCT NAME}

Prints product name of an order line without portion. You can use it with {PORTION} tag. For example {PRODUCT NAME}{PORTION:-} prints Mocha-Grande or prints just Mocha if portion name equals Normal

2 Likes