X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=sql-ledger%2Ftemplates%2FDefault-invoice.html;fp=sql-ledger%2Ftemplates%2FDefault-invoice.html;h=6f37b87830de2e3afa21bfa1a5514543ea63f99a;hp=0ba06cc328d7197142d81e84d934ca004b078356;hb=32306b5f8ffe4ce594409aa6e89626740b225a39;hpb=52072fcd26f2faf57923f598c358e7f47c4e2643 diff --git a/sql-ledger/templates/Default-invoice.html b/sql-ledger/templates/Default-invoice.html index 0ba06cc32..6f37b8783 100644 --- a/sql-ledger/templates/Default-invoice.html +++ b/sql-ledger/templates/Default-invoice.html @@ -2,130 +2,171 @@ - - - - - - - - - -<%if paid%> - - - - - - - -<%end paid%> - - - - - - - - - - + <%end paid%> + + -<%foreach tax%> - + + + -<%end tax%> -<%if taxincluded%> - + + + -<%end taxincluded%> - + <%end tax%> - -
  - - - + - - - - -
-

- <%company%> -
<%address%> -

-
  -

- Telephone: <%tel%> -
Facsimile: <%fax%> -

+
+ + + + + + + + + + + + +
+

+ <%company%> +
<%address%> +

+
+

+ Tel: <%tel%> +
Fax: <%fax%> +

+
+

I N V O I C E

+
-

I N V O I C E

-
- - - - - - + + + + - - + <%if taxincluded%> + + + <%end taxincluded%> + + <%if not taxincluded%> + + + <%end taxincluded%> + + + <%foreach tax%> + + + + + <%end tax%> + + <%if paid%> + + + + + <%end paid%> + + + + + + + <%if total%> + + + + + + <%end total%> + + +
- - - - - - - - - - - - - - + - - - + -
Invoice Date <%invdate%>
Due Date <%duedate%>
Number <%invnumber%>
 
 
+ + + + + + + + + + + +
ToShip To
<%name%> +
<%address1%> + <%if address2%> +
<%address2%> + <%end address2%> +
<%city%> <%state%> <%zipcode%> + <%if country%> +
<%country%> + <%end country%> +
+ + <%if contact%> +
<%contact%> +
+ <%end contact%> + + <%if customerphone%> +
Tel: <%customerphone%> + <%end customerphone%> + + <%if customerfax%> +
Fax: <%customerfax%> + <%end customerfax%> + + <%if email%> +
<%email%> + <%end email%> +
<%shiptoname%> +
<%shiptoaddress1%> + <%if shiptoaddress2%> +
<%shiptoaddress2%> + <%end shiptoaddress2%> +
<%shiptocity%> <%shiptostate%> <%shiptozipcode%> + <%if shiptocountry%> +
<%shiptocountry%> + <%end shiptocountry%> +
+ + <%if shiptocontact%> +
<%shiptocontact%> +
+ <%end shiptocontact%> + + <%if shiptophone%> +
Tel: <%shiptophone%> + <%end shiptophone%> + + <%if shiptofax%> +
Fax: <%shiptofax%> + <%end shiptofax%> + + <%if shiptoemail%> +
<%shiptoemail%> + <%end shiptoemail%> +
  - - - - - - - - - - - - - -
To:Ship To:
<%name%> -
<%addr1%> -
<%addr2%> -
<%addr3%> -
<%addr4%> -
<%shiptoname%> -
<%shiptoaddr1%> -
<%shiptoaddr2%> -
<%shiptoaddr3%> -
<%shiptoaddr4%> -
+ + + + + + + + + + + + + + + + + + + + +
Invoice #DateDueOrder #SalespersonShipping PointShip via
<%invnumber%><%invdate%><%duedate%><%ordnumber%> <%employee%> <%shippingpoint%> <%shipvia%> 
 
- - - - - - - - - - - - -<%foreach number%> - - - - - - - - - - -<%end number%> +
NumberDescriptionQt'y PriceDiscAmount
<%number%><%description%><%qty%><%unit%><%sellprice%><%discount%><%linetotal%>
+ + + + + + + + + + + + + <%foreach number%> + + + + + + + + + + + + <%end number%> - - - + + + - -<%if taxincluded%> - - -<%end taxincluded%> -<%if not taxincluded%> - - -<%end taxincluded%> - - -<%foreach tax%> - - - - -<%end tax%> - -<%if paid%> - - - - -<%end paid%> - - - - - - - - - - - - - - - - -
No.NumberDescription Qt'y Unit PriceDisc %Extended
<%runningnumber%>.<%number%><%description%><%deliverydate%><%qty%><%unit%><%sellprice%><%discountrate%><%linetotal%>


Total<%invtotal%>Subtotal<%subtotal%>
<%taxdescription%> on <%taxbase%> @ <%taxrate%> %<%tax%>
Paid- <%paid%>
 
Terms Net <%terms%> daysOutstanding<%total%>
 
+
Total<%invtotal%>Subtotal<%subtotal%>
<%taxdescription%> on <%taxbase%> @ <%taxrate%> %<%tax%>
Paid- <%paid%>
 
 Balance Due<%total%>
- - -<%if notes%> - - -<%end notes%> - - - -
Notes<%notes%> - All prices in <%currency%> Funds -
<%shippingpoint%> -
-
 
- - - - - - - - - - - - - -<%end paid%> - -<%foreach payment%> - - - - - - -<%end payment%> - -<%if paid%> -
Payments
-
-
DateAccountSourceAmount
<%paymentdate%><%paymentaccount%><%paymentsource%><%payment%>
-
 
-
Thank you for your valued business! -
 
- - - + + + - + + <%if paid%> + + + + -
- Payment due NET <%terms%> Days from date of Invoice. - Interest on overdue amounts will acrue at the rate of 1.5% per month - from due date until paid in full. Items returned are subject to - a 10% restocking charge. A return authorization must be obtained - from <%company%> before goods are returned. Returns must be shipped - prepaid and properly insured. <%company%> will not be responsible - for damages during transit. - +
  + + + <%if notes%> + + <%end notes%> + + + + + +
<%notes%><%text_amount%> ***** <%decimal%>/100 + All prices in <%currency%> +
- X
+
  + + + + + + + + + + + + + + + + + <%end paid%> + + <%foreach payment%> + + + + + + + <%end payment%> + + <%if paid%> +
Payments
+
+
DateAccountSourceAmount
<%paymentdate%><%paymentaccount%><%paymentsource%><%payment%>
-
<%taxdescription%> Registration <%taxnumber%>  + Thank you for your valued business! +
Taxes shown are included in price.  + + + + + + +
+ Payment due by <%duedate%>. + Items returned are subject to a 10% restocking charge. A return authorization must be obtained from <%company%> before goods are returned. Returns must be shipped prepaid and properly insured. <%company%> will not be responsible for damages during transit. + + + X
+
+
+ + Taxes shown are included in price. + + <%end taxincluded%> - -