{{define "title"}}PO {{.PurchaseOrder.Title}} - CMC Sales{{end}} {{define "content"}}

Purchase Order {{.PurchaseOrder.Title}}

Order Information

PO Number: {{.PurchaseOrder.Title}}
Issue Date: {{formatDate .PurchaseOrder.IssueDate}}
Dispatch Date: {{formatDate .PurchaseOrder.DispatchDate}}
Date Arrived: {{if .PurchaseOrder.DateArrived}} {{formatDate .PurchaseOrder.DateArrived}} {{else}} Not arrived {{end}}
Principle Reference: {{.PurchaseOrder.PrincipleReference}}
Currency: {{if .PurchaseOrder.CurrencyID.Valid}}Currency {{.PurchaseOrder.CurrencyID.Int32}}{{else}}Not specified{{end}}
Dispatch By: {{.PurchaseOrder.DispatchBy}}

Ordered From

{{.PurchaseOrder.OrderedFrom}}

Deliver To

{{.PurchaseOrder.DeliverTo}}
{{if .PurchaseOrder.Description}}

Description

{{.PurchaseOrder.Description}}

{{end}} {{if .PurchaseOrder.ShippingInstructions}}

Shipping Instructions

{{.PurchaseOrder.ShippingInstructions}}

{{end}}

Status

{{if .PurchaseOrder.DateArrived}} Arrived {{else if .PurchaseOrder.DispatchDate}} Dispatched {{else}} Pending {{end}}
{{if .PurchaseOrder.JobsText}}

Related Jobs

{{.PurchaseOrder.JobsText}}

{{end}} {{if .PurchaseOrder.FreightForwarderText}}

Freight Forwarder

{{.PurchaseOrder.FreightForwarderText}}

{{end}}
{{end}}