{% extends "base.html" %} {% set title = t({'customer': 'Customers', 'vendor': 'Vendors'}.get(ptype, m.title)) %} {% block title %}{{ title }}{% endblock %} {% block content %}
| {{ t(fld.label) }} | {% endfor %}|||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ '✓' if v else '' }} | {% elif fld.options %}{{ options[fld.name].get(v, v) if v is not none else '' }} | {% elif fld.type == 'money' %}{{ v|money }} | {% elif fld.type == 'number' %}{{ v if v is not none else '' }} | {% elif fld.type == 'text_ar' %}{{ v or '' }} | {% else %}{{ v or '' }} | {% endif %} {% endfor %}||||||||||||||
| {{ t('Nothing yet.') }} | |||||||||||||||||||