{% extends "base.html" %} {% from "_macros.html" import branch_tag, export_buttons with context %} {% block title %}{{ t('Projects') }}{% endblock %} {% block content %}
| {{ t('Code') }} | {{ t('Project') }} | {{ t('Branch') }} | {{ t('Customer') }} | {{ t('Manager') }} | {{ t('Contract value') }} | {{ t('Budget') }} | {{ t('Committed + Actual') }} | {{ t('Used') }} | {{ t('Invoiced') }} | {{ t('Status') }} |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ r.code }} | {{ nm(r) }} | {{ branch_tag(branches, r.branch_id) }} | {{ nm({'name_en': r.cust_en, 'name_ar': r.cust_ar}) if r.cust_en else '' }} | {{ r.manager or '' }} | {{ r.contract_value|money(r.currency, True) }} | {{ r.budget|money(r.currency, True) }} | {{ (r.committed + r.actual)|money(r.currency, True) }} | {% if r.used_pct is not none %}{{ r.used_pct }}%{% endif %} | {{ r.billed|money(r.currency, True) }} | {{ t(states[r.state]) }} |
| {{ t('No projects yet.') }} | ||||||||||