How to add custmore address on bill

When i print bill i got this so this is the error i think

can you show a copy of you printed bill

what is that part of the ticket where it is displayed?

What is entity note anyway, isn’t it ticket note?

Copy and paste you whole template (don’t forget the code button on tool bar so formatting is not stripped.)

Can you explain your flow?
Struggling to understand you flow,
Entity data:customers:[commandvalue]}?? What’s providing the command value?

[LAYOUT]
-- General layout
<div style="font-weight:bold;font-size:12px;font-family:'Tahoma'">
<div style="margin-left:10px">
<T>Ticket
<L00>Date:{TICKET DATE}
<L00>Time:{TIME}
[<J00>Delivery Address:
<J00>{TICKET TAG:DeliveryAddress}]
{ENTITIES}
<L00>Ticket No:{TICKET NO}
<F>-
{ORDERS}
<F>=
<EB>
{DISCOUNTS}
[<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}|{PAYMENT AMOUNT}

[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}

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

[ENTITIES:Customer]
-- Customer entity format
<J00>{ENTITY DATA:Customers:Address}
this the Ticket Template


[LAYOUT]
-- General layout
<div style="font-weight:bold;font-size:12px;font-family:'Tahoma'">
<div style="margin-left:10px">
<T>Ticket
<L00>Date:{TICKET DATE}
<L00>Time:{TIME}
[<J00>Delivery Address:
<J00>{TICKET TAG:DeliveryAddress}]
{ENTITIES}
<L00>Ticket No:{TICKET NO}
<F>-
{ORDERS}
<F>=
<EB>
{DISCOUNTS}
[<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}|{PAYMENT AMOUNT}

[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}

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

[ENTITIES:Customer]
-- Customer entity format
<J00>{ENTITY DATA:Customers:Address}

Customer Receipt Template

and i think this command come from here

Where is the set delivery address command coming from to make that rule happen?

Why have you tried to put delivery address in twice?
You have a ticket tag for address in the layout section and trying again in the customer entity section.

Also if you using entity data within a specific section - I’ve the entity:customer section you shouldn’t need to specify the entity type in the expression as it is already looking at customers being in the customer section…

Explain you flow as seem to have allot going on that I expect is redundant/not needed.

i have follow is totural Customer multiple addresses

ok i will delet all this and see what happen

So are you using multiple addresses or not?
You only have one address field on the entity?

That command is presumably triggered from the notes, would have to take a closer look.
Based on that you don’t want to use entity data print expression as the temp,ate is to be able to choose from multiple addresses for this ticked which is where the tag comes in. I’ve select the note to add as tag to set which is printed on the printout…

ok here is the deal i have delete all action and rules that shown in that totural now after that there no address filled in print out

[LAYOUT]
-- General layout
<div style="font-weight:bold;font-size:12px;font-family:'Tahoma'">
<div style="margin-left:10px">
<T>Ticket
<L00>Date:{TICKET DATE}
<L00>Time:{TIME}
{ENTITIES}
<L00>Ticket No:{TICKET NO}
<F>-
{ORDERS}
<F>=
<EB>
{DISCOUNTS}
[<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}|{PAYMENT AMOUNT}

[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}

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

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

this my templete Now plz suggest me what to do i have add this {ENTITY DATA:Phone} extra for the phone number

Well if you entity field is called Address and you adding in the customer entity section you would just put {ENTITY DATA:Address}
Ie:

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

Becomes;

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

You might struggle on length of address but that will be a start…

1 Like

atlast finaly address is printed and phone number too BUT customer phone number is not there…:sob:

phone number is printed but name is not there

Becaise you overwrote {ENTITY NAME} from original tablet.

Think you need to have a good read of the templates tutorial… You seem to have minimal understanding of a fairly visual aspect that’s almost WYSIWYG… If you can’t see why entity name is not printing you defiantly need to read up on some tutorials.

thanks thanks thanks a lot bro it works i just figer it i change the code you gave me [ENTITIES:Customer]
– Customer entity format
Customer: {ENTITY NAME}
Phone:{ENTITY DATA:Phone}
Address:
{ENTITY DATA:Address}

and thats what the print is
customer :
Phone:
Address:
and thats what i want thanks again. i spend all night its 6.24 in morning here in pakistan
Thanks again bro for bearing me that much…
see you with an other toppic
untill then bey