![]() |
Billing address on invoice
Is there any way to not show the billing address on the invoice when it is the same as the shipping address?
This is causing mistakes when order picking/handling orders and I really wonder why everytime both adresses are shown on the invoice even when they are the same: then it is of no value at all. |
Re: Billing address on invoice
If statement. You can compare any 2 lines to see if there is a match. In /mail/html/order_invoice.tpl
{if $order.b_address eq $order.s_address && $order.b_zipcode eq $order.s_zipcode} show all lines for billing address {/if} |
Re: Billing address on invoice
So basically I need to make the statement not eq to let it not show.
Thats like: {if $order.b_address ne $order.s_address && $order.b_zipcode ne $order.s_zipcode} ? |
Re: Billing address on invoice
Sorry yes, if you want it to show when they are different make it "ne"
|
Re: Billing address on invoice
No problem, meanwhile I got i working almost perfectly :)
|
All times are GMT -8. The time now is 10:17 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.