{% extends 'base.html.twig' %}
{% set titleName = "Batches - Lots" %}
{% block title %} POWER DATA | {{titleName}} {% endblock %}
{% block page %}{{titleName}}{% endblock %}
{% block breadcrumb %} {% if titleName != "Home" %} {{titleName}} {% endif %} {% endblock %}
{% block css %}
{% endblock %}
{% block content %}
DataTable with default features
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_BATCH_MANAGER') %}
{% if clientDolibarrName is not null %}
{% endif %}
{% endif %}
{% for batch in batches %}
ID
Number Of Lot
Client
Shipper
Created By
Created At
Status
Type
Orders
Action
{% endfor %}
{{ batch.id }}
{{ batch.numberOfLot }}
{{ batch.clientDolibarrName }}
{{ batch.shipper.type }}
{{ batch.createdBy.firstName }} {{ batch.createdBy.lastName }}
{{ batch.createdAt|date("d/m/Y") }}
{{ batch.orders|length }}
View
{% if (is_granted('ROLE_ADMIN') or is_granted('ROLE_BATCH_MANAGER')) and batch.status == 1 %}
{# #}
Delete
{% endif %}
ID
Number Of Lot
Client
Shipper
Created By
Created At
Status
Type
Orders
Action