<%inherit file="../base/base.html" /> <%namespace file="../base/base.html" import="header, setup_margin_labels" /> <%block name="title_head"> ${ title } <%block name="extra_meta"> ${ setup_margin_labels(title) }
${ header(complete_header, title, subtitle, notes) }
% if is_cancelled: % else: % endif % if is_cancelled: % else: % endif
${_("Invoice number")}: ${ order.invoice.invoice_number if order.invoice.invoice_number else _("N/A") } ${_("Status")}: ${ order.status_str}
${_("Open date")}: ${ order.open_date.strftime('%x')}${ _("Cancel date") }: ${ order.cancel_date.strftime('%x') }${ _("Receival") }: ${ order.receival_date.strftime('%x') if order.receival_date else _("Not received yet") }
${ _("Source") }: ${ order.source_branch.get_description() } ${ _("Destination") }: ${ order.destination_branch.get_description() }
${ _("Responsible") }: ${ order.source_responsible.person.name } ${ _("Responsible") }:${ order.cancel_responsible.person.name }${ order.destination_responsible.person.name if order.destination_responsible else _("N/A") }
% for item in order.get_items(): % endfor
# ${ _("Description") } ${ _("Quantity") }
${ item.sellable.code } ${ item.sellable.get_description() } ${ item.quantity }
Total: ${ total }
% if order.comments:

${ _("Comments") }:

${ order.comments }
% endif

 

${ order.source_responsible.person.name } % if order.destination_responsible: ${ order.destination_responsible.person.name } % endif