{% extends 'report_html_stock/reports/base.html' %} {% block title %} Shipment {{ records|join('# ', 'reference') }} {% endblock %} {% block report_header scoped %} {% set shipment = record %} Internal Shipment
Shipment # | {{ shipment.code }} |
Reference | From Location | To Location | Planned Date | Effective Date | State |
---|---|---|---|---|---|
{{ shipment.reference or '' }} | {{ shipment.from_location.rec_name }} | {{ shipment.to_location.rec_name }} | {{ shipment.planned_date and shipment.planned_date|dateformat or '-Not set-' }} | {{ shipment.effective_date and shipment.effective_date|dateformat or '-NA-' }} | {{ shipment.state|capitalize }} |
From Location | To Location | Product | Quantity | State | {% for move in shipment.moves %}
---|---|---|---|---|
{{ move.from_location.rec_name or '' }} | {{ move.to_location.rec_name or ''}} | {{ move.product.rec_name or ''}} | {{ format_number(move.quantity, user.lang, digits=move.unit_digits) }} {% if move.uom.symbol != 'u' %}{{ move.uom.symbol }}{% endif %} | {{ move.state|capitalize }} |