commit 8c0d263b2672df6727e1d0be3fecfdef3df8c1eb Author: unknown Date: Sun Feb 12 10:42:37 2012 +1100 FIXES: #263 Desc: Customers Address details not showing on HTML Invoices. diff --git a/templates/invoice/print_html.tpl b/templates/invoice/print_html.tpl index 2b79b32..eeeb2e1 100644 --- a/templates/invoice/print_html.tpl +++ b/templates/invoice/print_html.tpl @@ -7,15 +7,12 @@ - +
-
+ {foreach item=item from=$company} - @@ -37,21 +34,21 @@ - -
{$translate_invoice_prn_address} :  {$item.COMPANY_ADDRESS|nl2br|regex_replace:"/[\r\t\n]/":" "}
{$item.COMPANY_CITY},
{$item.COMPANY_STATE},
{$item.COMPANY_ZIP}
+ - - +
- + +
{$item.COMPANY_NAME}{$item.COMPANY_NAME}
+
@@ -80,17 +77,17 @@

- + @@ -98,7 +95,8 @@ -
- {$translate_invoice_prn_bill_to} :
- - > +

{$translate_invoice_prn_bill_to} :

{foreach item=item from=$customer_details} - {$item.CUSTOMER_DISPLAY_NAME}
- {$item.CUSTOMER_ADDRESS|nl2br|regex_replace:"/[\r\t\n]/":" "}
- {$item.CUSTOMER_CITY},
- {$item.CUSTOMER_STATE} {$item.CUSTOMER_ZIP} + {$item.CUSTOMER_DISPLAY_NAME}
+ {$item.CUSTOMER_ADDRESS|nl2br|regex_replace:"/[\r\t\n]/":" "}
+ {$item.CUSTOMER_CITY},
+ {$item.CUSTOMER_STATE} {$item.CUSTOMER_ZIP} {/foreach}
+{if $wo_description > NULL} +
@@ -108,10 +106,11 @@
{$translate_invoice_prn_work_order} {$translate_invoice_prn_work_order_resolution}{$wo_resolution}
+{/if}
- +
@@ -120,7 +119,7 @@
-
{$translate_invoice_prn_invoice_details} {$item.CUSTOMER_DISPLAY_NAME}
+
@@ -143,7 +142,7 @@
-
{$translate_invoice_prn_qty} {$translate_invoice_prn_labour_items}
+
@@ -166,10 +165,10 @@
-
{$translate_invoice_prn_qty} {$translate_invoice_prn_parts_items}
+
- +
@@ -259,7 +258,7 @@

{if $thank_you > ''} -
{$translate_invoice_prn_payment_instructions}
+
{$thank_you}