{% extends 'base.html.twig' %} {% set titleName = "Inventory - "~ inventory.number %} {% block title %} POWER DATA | {{titleName}} {% endblock %} {% block page %}{{titleName}} {% endblock %} {% block breadcrumb %} {% if titleName != "Home" %} {{titleName}} {% endif %} {% endblock %} {% block css %} {% endblock %} {% set classCol = 'col-md-3' %} {% set showNext = 0 %} {% block content %} {% for message in app.flashes('success') %} {{ message }} × {% endfor %} {% for message in app.flashes('error') %} {{ message }} × {% endfor %} {% if inventory.status == constant('App\\Entity\\Power\\Inventory::STATUS_PROCESSING_COUNTING_TWO') or inventory.status == constant('App\\Entity\\Power\\Inventory::STATUS_PROCESSING_COUNTING_THREE') %} {% set classCol = 'col-md-2' %} {% set showNext = 1 %} {% endif %} Product Line : -- {% if showNext == 1 %} Next product : {{ productJson.barcode is defined ? productJson.barcode : '' }} {{ productJson.label is defined ? ' => ' ~ productJson.label : '' }} Problem : {{ productJson.problem is defined ? productJson.problem : '' }} {{ productJson.totalQty is defined and productJson.problem == 'Quantity' ? ' Correct Emplacement => ' ~ productJson.allEmp : '' }} {{ productJson.allEmp is defined and productJson.problem == 'Emplacement' ? ' Correct Quantity => ' ~ productJson.totalQty : '' }} {% endif %} {% if showNext == 1 %} Out Of Stock Next {% endif %} {% endblock %} {% block script %} {% if inventory.status == constant('App\\Entity\\Power\\Inventory::STATUS_PROCESSING_COUNTING_TWO') or inventory.status == constant('App\\Entity\\Power\\Inventory::STATUS_PROCESSING_COUNTING_THREE') %} {% set classCol = 'col-md-2' %} {% set showNext = 1 %} {% endif %} {% endblock %}
Next product : {{ productJson.barcode is defined ? productJson.barcode : '' }} {{ productJson.label is defined ? ' => ' ~ productJson.label : '' }} Problem : {{ productJson.problem is defined ? productJson.problem : '' }} {{ productJson.totalQty is defined and productJson.problem == 'Quantity' ? ' Correct Emplacement => ' ~ productJson.allEmp : '' }} {{ productJson.allEmp is defined and productJson.problem == 'Emplacement' ? ' Correct Quantity => ' ~ productJson.totalQty : '' }}