{{.Invoice_no}}
{{.InvoiceDatetime}}
{{.Label_BillTo}}
{{.ClientAddressLine1}}
{{end}} {{if ne .ClientAddressLine2 ""}}{{.ClientAddressLine2}}
{{end}} {{if ne .ClientBillingState ""}}{{.ClientBillingState}}
{{end}} {{if ne .ClientAddressLine3 ""}}{{.ClientAddressLine3}}
{{end}} {{if ne .ClientBillingCountry ""}}{{.ClientBillingCountry}}
{{end}}{{if ne .TaxNumber ""}}TaxNumber: {{.TaxNumber}}
{{end}}{{.Label_Invoice_no}}
{{end}} {{if eq .InvoiceType "2"}}{{.Label_Estimate_no}}
{{end}} {{if eq .Table_name "purchase_order"}}{{.Label_Po_no}}
{{end}} {{if eq .Table_name "credit_memo"}}{{.Label_Credit_memo_no}}
{{end}}{{.Invoice_no}}
{{.Label_date}}
{{.InvoiceDatetime}}
{{.Label_Terms}}
{{.Terms}}
{{.Label_due_date}}
{{.DueDate}}
| {{.Label_Code}} | {{end}}{{.Label_Description}} | {{if eq .IsDisplayQtyAndRateColumns "true"}}{{.Label_Quantity}} | {{end}} {{if eq .IsDisplayQtyAndRateColumns "true"}}{{.Label_Rate}} | {{end}} {{range .Company_taxes_json}} {{if eq .LabelValue ""}}{{.LabelKey}} | {{end}} {{end}} {{if eq .DiscountOption "discount_on_items"}}{{.Label_Discount}} | {{end}}{{.Label_Amount}} | ||
|---|---|---|---|---|---|---|---|---|
| {{ $data.Code }}{{$data.ProductName}} | {{ $data.ItemDescription }} | {{if eq $data.ItemType "0"}}Parts | {{end}} {{if eq $data.ItemType "1"}}Labour | {{end}}{{ $data.Quantity }} | {{ $data.Rate }} | {{if ne $data.TaxInfo ""}}{{ $data.TaxInfo }}% | {{end}}{{$data.Discount}} {{if eq $data.DiscountType "0"}} %{{end}} | {{ $data.ItemTotalAmount }}{{ $data.Non_taxable}} |
{{.Label_Subtotal}}
{{.Label_Discount}}
{{.Label_Discount}}
{{.Inclusive}} {{.LabelKey}}{{if ne .LabelValue ""}} ({{.LabelValue}}%){{end}}
{{.Label_Shipping}}
{{.Label_Shipping}}
{{.Label_Total}}
{{.WithholdingAbbreviation}} ({{.WithholdingRate}}%)
{{.Label_Paid}}
{{.Label_Balance_due}}
{{.InvoiceComment}}