{% extends 'report_html_stock/reports/base.html' %} {% block title %} Shipment {{ records|join('# ', 'reference') }} {% endblock %} {% block report_header scoped %} {% set shipment = record %} Delivery Note
Shipment # | {{ shipment.code }} |
Date | {{ shipment.effective_date or datetime.datetime.today()|dateformat }} |
Ship To |
{% for line in shipment.delivery_address.full_address.split('\n') %}
{{ line }} {% endfor %} {% if shipment.customer.phone %} Phone: {{ shipment.customer.phone }} {% endif %} {% if shipment.customer.email %} Email: {{ shipment.customer.email }} {% endif %} |
Reference | Customer Code | Carrier | Tracking Number | Package Weight |
---|---|---|---|---|
{{ shipment.origins or '' }}{{ ', ' if (shipment.origins and shipment.reference) else '' }}{{ shipment.reference or '' }} | {{ shipment.customer.code }} | {{ shipment.carrier and shipment.carrier.party.name or '-' }} | {{ shipment.tracking_number or '-' }} | {% if shipment.package_weight %} {{ formatLang(shipment.package_weight, shipment.customer.lang, digits=2) }} {{ shipment.weight_uom.symbol }} {% else %} {{ '-' }} {% endif %} |
# | Item | Description | Quantity |
---|---|---|---|
{{ loop.index }} | {% if move.product %} {{ move.product.code }} {% endif %} | {% if move.product %} {{ move.product.name }} {% endif %} | {{ formatLang(move.quantity, shipment.customer.lang, digits=move.unit_digits) }} {% if move.uom.symbol != 'u' %}{{ move.uom.symbol }}{% endif %} |