{% extends "base.html" %} {% load i18n %} {% load static %} {% block content %}

{{good.name}}

info_outline

Фактичний Залишок

{{total_balance|stringformat:".2f"}} {{receipt.0.good.unit_of_measurement}}

info_outline

Доступно

{{balance|stringformat:".2f"}} {{receipt.0.good.unit_of_measurement}}

info_outline

Всьго використано

{{total_write_off|stringformat:".2f"}} {{receipt.0.good.unit_of_measurement}}

info_outline

В резерві

{{total_reservation|stringformat:".2f"}} {{receipt.0.good.unit_of_measurement}}

{% if good.photo %} {% else %} {% endif %}

Закуплено

{% if receipt %} {% for r in receipt %} {% endfor %} {% else %} {% endif %}
Кіл-сть Ціна Дата Користувач Залишок
{{r.quantity|stringformat:".2f"}} {{r.price|stringformat:".2f"}} {{r.created_at|date:"SHORT_DATE_FORMAT"}} {{r.user.last_name}} {{r.actual_quantity|stringformat:".2f"}}
Данні відсутні

Списано

{% if write_off %} {% for r in write_off %} {% endfor %} {% else %} {% endif %}
Кіл-сть Дата Користувач Причина
{{r.quantity|stringformat:".2f"}} {{r.invoice.created_at|date:"SHORT_DATE_FORMAT"}} {{r.user.last_name}} {{r.invoice.reason}}
Данні відсутні

Зарезервовано

{% if reservation %} {% for r in reservation %} {% endfor %} {% else %} {% endif %}
Кіл-сть Дата Користувач Обьєкт
{{r.quantity|stringformat:".2f"}} {{r.date|date:"SHORT_DATE_FORMAT"}} {{r.user.last_name}} {{r.project.name}}
Данні відсутні
{% endblock %} {% block scripts %} {% endblock %}