{% extends "base.html" %} {% from "_macros.html" import list_filters, branch_tag, order_badge, progress_badge with context %} {% block title %}{{ t(info.title) }}{% endblock %} {% block content %}
| {{ t('Number') }} | {{ t('Customer') if kind == 'sale' else t('Vendor') }} | {{ t('Branch') }} | {{ t('Date') }} | {{ t('Total') }} | {{ t('Status') }} | {{ t('Delivery') if kind == 'sale' else t('Receipt') }} | {{ t('Invoicing') }} |
|---|---|---|---|---|---|---|---|
| {{ o.number }}{% if o.ref %} {{ o.ref }}{% endif %} |
{{ nm({'name_en': o.pname_en, 'name_ar': o.pname_ar}) }} | {{ branch_tag(branches, o.branch_id) }} | {{ o.date }} | {{ o.amount_total|money(cur) }} {{ cur }} | {{ order_badge(o.state, kind) }} | {{ progress_badge(o.deliv) }} | {{ progress_badge(o.inv) }} |
| {{ t('Nothing yet.') }} | |||||||