{% extends "ui/report_base.html" %} {% load url from future %} {% load icons %} {% load formats %} {% load bob %} {% block contentarea %}

Devices prices per Venture

Price of devices in the venture.

The price of shared equipment is taken as a proportion.

{% for f in form %} {% if f.label %}
{{ f }} {% spaceless %} {% endspaceless %} {% if venture %} {% spaceless %} {% icon 'fugue-fugue-icon fugue-blue-document-excel-csv' %} Export CSV {% endspaceless %} {% endif %} {% spaceless %} {% icon 'fugue-fugue-icon fugue-blue-document-excel-csv' %} Export all devices to CSV {% endspaceless %}
{% endif %} {% endfor %}
{% for row in rows %} {% endfor %}
Device SN Barcode Quoted price Components
{{ forloop.counter }}. {{ row.device|device_icon }} {{ row.device.name }} {{ row.device.sn }} {{ row.device.barcode }} {% if row.device.cached_price == 0 %}N/A{% else %}{{ row.device.cached_price|currency }}{% endif %} {% if row.components %} {% for comp in row.components %} {% endfor %}
Name: Count: Unit price:
 {{ comp.name }} {{ comp.count }} {% if comp.price == 0 %}N/A{% else %}{{ comp.price|currency }}{% endif %}
Total: {{ row.price|currency }}
{% else %} N/A {% endif %}
{% endblock %}