{% extends "base.html" %} {% from "_macros.html" import branch_tag, wf_badge with context %} {% block title %}{{ t('Fixed Assets') }}{% endblock %} {% block content %}

{{ t('Fixed Assets') }}

{% if can_write %}
{{ t('Run Depreciation') }} + {{ t('New Asset') }}
{% endif %}
{% for a in rows %}{% set cur = branches[a.branch_id].currency if a.branch_id in branches else none %} {% else %}{% endfor %} {% for cur, tt in totals.items() %} {% endfor %}
{{ t('Code') }}{{ t('Asset') }}{{ t('Category') }}{{ t('Branch') }}{{ t('Acquired') }} {{ t('Cost') }}{{ t('Accumulated Depreciation') }}{{ t('Net Book Value') }}{{ t('Status') }}
{{ a.code }}{{ nm(a) }}{% if a.serial_no %}
{{ a.serial_no }}{% endif %}
{{ nm({'name_en': a.cname_en, 'name_ar': a.cname_ar}) }}{{ branch_tag(branches, a.branch_id) }} {{ a.acquisition_date }}{{ a.cost|money(cur) }} {{ a.accumulated|money(cur) }}{{ a.nbv|money(cur) }}{{ wf_badge(a.state) }}
{{ t('Nothing yet.') }}
{{ t('Total') }} ({{ cur }}){{ tt[0]|money(cur) }}{{ tt[1]|money(cur) }}{{ tt[2]|money(cur) }}
{% endblock %}