{% extends "base.html" %} {% from "units/_m.html" import unit_badge, doc_badge with context %} {% block title %}{{ t('Rental Contracts') }}{% endblock %} {% block content %}
{{ t('Portable units hired out from the rental fleet, billed monthly.') }}
| {{ t('Contract') }} | {{ t('Customer') }} | {{ t('Project') }} / {{ t('Site') }} | {{ t('From') }} | {{ t('Invoiced to') }} | {{ t('Units on hire') }} | {{ t('Monthly rent') }} | {{ t('Status') }} |
|---|---|---|---|---|---|---|---|
| {{ r.number }} | {{ nm({'name_en': r.cust_en, 'name_ar': r.cust_ar}) }} | {{ r.pcode or '' }}{% if r.site %} {{ r.site }}{% endif %} | {{ r.start_date }} | {{ r.billed_until or '—' }} | {{ r.n_on }} | {{ r.monthly|money }} | {{ doc_badge(r.state) }} |
| {{ t('No rental contracts yet.') }} | |||||||
| {{ t('Serial') }} | {{ t('Product') }} | {{ t('Customer') }} / {{ t('Site') }} | {{ t('Cost') }} | {{ t('Status') }} |
|---|---|---|---|---|
| {{ u.serial }} | {{ nm(u) }} | {{ u.cust_en if u.state == 'on_rent' else '—' }}{% if u.site %} {{ u.site }}{% endif %} |
{{ u.cost|money }} | {{ unit_badge(u.state) }} |
| {{ t('No units in the rental fleet. Move finished units to the fleet from the Units list.') }} | ||||