{% extends 'accounting.html' %} {% load i18n widget_tweaks stock %} {% block content %} {{ block.super }}
| № | {% trans 'Bar code' %} | {% trans 'Product name' %} | {% trans 'Quantity' %} | {% trans 'Price' %} | {% trans 'Sum' %} | {% trans 'Code' %} |
|---|---|---|---|---|---|---|
| {{ object.category.name }} | ||||||
| {{ forloop.counter }} | {{ object.bar_code|default:'' }} | {{ object.name }} | {{ object.stock }} | {{ object.price }} | {{ object.subtotal }} | {{ object.code }} |
| {% trans 'Total' %}: | {{ totals.qty }} | {{ totals.grand_total }} | ||||