%inherit file="../base/base.html" /> <%namespace file="../base/base.html" import="header, setup_margin_labels" /> <%block name="title_head">
${_("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')} | % if is_cancelled:${ _("Cancel date") }: | ${ order.cancel_date.strftime('%x') } | % else:${ _("Receival") }: | ${ order.receival_date.strftime('%x') if order.receival_date else _("Not received yet") } | % endif
${ _("Source") }: | ${ order.source_branch.get_description() } | ${ _("Destination") }: | ${ order.destination_branch.get_description() } | ||
${ _("Responsible") }: | ${ order.source_responsible.person.name } | ${ _("Responsible") }: | % if is_cancelled:${ order.cancel_responsible.person.name } | % else:${ order.destination_responsible.person.name if order.destination_responsible else _("N/A") } | % endif
# | ${ _("Description") } | ${ _("Quantity") } |
${ item.sellable.code } | ${ item.sellable.get_description() } | ${ item.quantity } |
Total: ${ total } |
${ _("Comments") }:
${ order.comments }${ order.source_responsible.person.name } % if order.destination_responsible: ${ order.destination_responsible.person.name } % endif