{lang="order_placed"} {datetime="$invoice->date" lowercase="true"}
{lang="invoice_po_number"}: {$invoice->po} ({lang="edit"})
{{else}} {lang="order_po_number_add"} {{endif}}{lang="order_invoice_expired"}
{{elseif $invoice->status === $invoice::STATUS_CANCELED}}{lang="order_invoice_cancelled"}
{{elseif $invoice->status === $invoice::STATUS_PAID}}
{lang="order_invoice_paid"}
{{if $invoice->billaddress AND \count( $invoice->transactions( array( \IPS\nexus\Transaction::STATUS_PAID, \IPS\nexus\Transaction::STATUS_WAITING, \IPS\nexus\Transaction::STATUS_HELD, \IPS\nexus\Transaction::STATUS_REVIEW, \IPS\nexus\Transaction::STATUS_REFUSED, \IPS\nexus\Transaction::STATUS_REFUNDED, \IPS\nexus\Transaction::STATUS_PART_REFUNDED, \IPS\nexus\Transaction::STATUS_GATEWAY_PENDING ) ) ) > 0 }}
{lang="order_view_payment"}
{{endif}}
{lang="each_short" sprintf="$item->price"}
{{endif}}{lang="order_shipped" pluralize="$shipment->itemCount()" sprintf="$shipment->shipped_date, $shipment->method->_title"} {{if $shipment->tracknumber}}({$shipment->tracknumber}){{endif}}
{lang="order_will_ship" pluralize="$shipment->itemCount()" sprintf="$shipment->method->_title"}
{{endif}}