{% extends 'report_html_stock/reports/base.html' %} {% block title %}Product Ledger{% endblock %} {% block report_header %} {% set product = record['product'] %}
|
{{ summary[product]['opening_stock'] }} Opening Stock |
{% if product.purchasable %}
{{ summary[product]['purchased'] }} Purchased |
{% endif %}
{% if summary[product]['produced'] %}
{{ summary[product]['produced'] }} Produced |
{% endif %}
{% if product.salable %}
{{ summary[product]['customer'] }} Sold |
{% endif %}
{% if summary[product]['consumed'] %}
{{ summary[product]['consumed'] }} Consumed |
{% endif %}
{% if summary[product]['lost'] %}
{{ summary[product]['lost'] }} Lost |
{% endif %}
{{ summary[product]['closing_stock'] }} Closing Stock |
| Date | Supplier | PO # | Supplier Shipment | Quantity |
|---|---|---|---|---|
| {{ move.effective_date|dateformat }} | {{ move.origin and move.origin.purchase and move.origin.purchase.party.rec_name }} | {{ move.origin and move.origin.purchase and move.origin.purchase.reference }} | {{ move.shipment and move.shipment.code }} | {{ move.quantity }}{{ move.uom.symbol }} |
| Date | PO # | Location | Quantity | Operator |
|---|---|---|---|---|
| {{ move.effective_date|dateformat }} | {{ production.code}} | {{ production.location and production.location.rec_name }} | {% if move.production_input %}-{% else %}+{% endif %} {{ move.quantity }}{{ move.uom.symbol }} | {{ move.operator and move.operator.rec_name }} |
| Date | Customer | Order # | Shipment # | Quantity |
|---|---|---|---|---|
| {{ move.effective_date|dateformat }} | {{ move.origin and move.origin.sale and move.origin.sale.party.rec_name }} | {{ move.origin and move.origin.sale and move.origin.sale.reference }} | {{ move.shipment and move.shipment.code }} | {{ move.quantity }}{{ move.uom.symbol }} |
| Date | Inventory Record | Quantity |
|---|---|---|
| {{ move.effective_date|dateformat }} | {% if move.to_location.type == 'lost_found' %}-{% endif %} {{ move.quantity }}{{ move.uom.symbol }} | {{ move.quantity }}{{ move.uom.symbol }} |