{% extends 'base.html.twig' %}
{% set titleName = "Shippers" %}
{% 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_SHIPPERS_MANAGER') %}
{% endif %}
{% for shipper in shippers %}
{% if shipper.isDeleted == false %}
ID
Type
Name
Status
Action
{% endif %}
{% endfor %}
{{ shipper.id }}
{{ shipper.type }}
{{ shipper.name }}
{{ shipper.status ? 'Enabled' : 'Disabled' }}
{#
View
#}
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_SHIPPERS_MANAGER') %}
{#
Delete
#}
{% endif %}
ID
Type
Name
Status
Action