{% comment "Angular template!" %} The code in this file is using ANGULARJS template syntax and not the DJANGO template syntax. {% endcomment %} {% verbatim %}
{{ "unsaved"|translate }}

 {{ 'Purchase Order' | translate }} 

{{opplan.reference || opplan.event.reference}}

{{opplan.item__name || opplan.item || opplan.event.item__name || opplan.event.item}} 

{{opplan.location || opplan.event.location}} 

{{opplan.supplier || opplan.event.supplier}} 

{{ grid.formatNumber(opplan.quantity || opplan.event.quantity) }}

{{ (opplan.startdate || opplan.event.startdate) | date: "yyyy-MM-dd" }}

{{ (opplan.enddate || opplan.event.enddate) | date: "yyyy-MM-dd" }}

{{ "inventory status"|translate }} {{opplan.inventory_status || opplan.event.inventory_status}}

 {{ 'Distribution Order' | translate }} 

{{opplan.reference || opplan.event.reference}}

{{ opplan.item__name || opplan.item || opplan.event.item__name || opplan.event.item }} 

{{opplan.origin || opplan.event.origin}} 

{{opplan.location || opplan.destination || oplan.operationplan__location || opplan.event.location || opplan.event.destination || oplan.event.operationplan__location}} 

{{ grid.formatNumber(opplan.quantity || opplan.event.quantity) }}

{{ (opplan.startdate || opplan.event.startdate) | date: "yyyy-MM-dd" }}

{{ (opplan.enddate || opplan.event.enddate) | date: "yyyy-MM-dd" }}

{{ "inventory status"|translate }} {{opplan.inventory_status || opplan.event.inventory_status}}

 {{ 'Manufacturing Order' | translate }} 

{{opplan.reference || opplan.event.reference}}

{{opplan.item__name || opplan.operationplan__item__name || opplan.event.item || opplan.event.item__name || opplan.event.operationplan__item__name || opplan.event.item}} 

{{ opplan.operationplan__name || opplan.operationplan__operation__name || opplan.operation || opplan.event.operationplan__name || opplan.event.operationplan__operation__name || opplan.event.operation }} 

{{ grid.formatNumber(opplan.quantity || opplan.event.quantity) }}

{{ (opplan.startdate || opplan.event.startdate) | date: "yyyy-MM-dd HH:mm:ss" }}

{{ (opplan.enddate || opplan.event.enddate) | date: "yyyy-MM-dd HH:mm:ss" }}

{{ "inventory status"|translate }} {{opplan.inventory_status || opplan.event.inventory_status}}

{{ 'Stock' | translate }} {{opplan.item__name || opplan.event.item__name}} @ {{opplan.location || opplan.event.location}} 

{{opplan.quantity || opplan.event.quantity}}

{{ 'Delivery' | translate }}

{{opplan.demands[0][1] || opplan.event.demands[0][1]}}

{{opplan.item || opplan.event.item__name}} 

{{opplan.location || opplan.event.location}} 

{{ (opplan.enddate || opplan.event.enddate) | date: "yyyy-MM-dd" }}

{{ opplan.quantity || opplan.event.quantity }}

{% endverbatim %}