{% extends 'base.html.twig' %} {% set titleName = "Batch Details " %} {% block title %} POWER DATA | Batch : {{ batch.numberOfLot }} {% endblock %} {% block page %} {{ batch.numberOfLot }} {% endblock %} {% block breadcrumb %} {% if titleName != "Home" %} {{ titleName }} / {{ batch.numberOfLot }} {% endif %} {% endblock %} {% block css %} {% if batch.status > 1 %} {% endif %} {% endblock %} {% block content %}
{% for message in app.flashes('success') %} {% endfor %} {% for message in app.flashes('error') %} {% endfor %}

{{ batch.shipperBorderCode }} Date: {{ batch.createdAt|date }}

Created By
{{ batch.createdBy.firstName }} {{ batch.createdBy.lastName }}
Shipper
{{ batch.shipper.name }}
Status
{{ batch.arrayOfStatus[batch.status] }}
N° Package scanned
{{ batch.returnBatchOrders|length }}
N° Package In Border
{{ batch.numberOfPackageReceived }}
{% if batch.status == 1 %} {% if is_granted('ROLE_ADMIN') or is_granted('ROLE_BATCH_MANAGER') %} To Completed {% endif %} {% elseif batch.status == 2 %} {% endif %}
{% set index = 1 %} {% for order in returnBatchOrders %} {% set index = index + 1 %} {% endfor %}
Num Track ID Dolibar Id Total Created At Status Action
{{ index }} {{ order.reference }} {% if order.dolibarId is defined %} {{ order.dolibarId }} {% endif %} {{ order.totalTtc }} {{ order.createdAt|date("d/m/Y") }} {% if order.orderParent is not null %} View {% endif %}
Num Track ID Dolibar Id Total Created At Status Action
{% endblock %} {% block script %} {% endblock %}