{% 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 }}
{% endblock report_header %} {% block report_body scoped %} {% set shipment = record %}
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 }}
{% for move in shipment.moves %} {% endfor %}
From Location To Location Product Quantity State
{{ move.from_location.rec_name or '' }} {{ move.to_location.rec_name or ''}} {{ move.product.rec_name or ''}} {{ formatLang(move.quantity, user.lang, digits=move.unit_digits) }} {% if move.uom.symbol != 'u' %}{{ move.uom.symbol }}{% endif %} {{ move.state|capitalize }}
{% endblock report_body%}