{% extends 'UserPortalBundle:layout:frontend.html.twig' %} {% block pageTitle %} {{ 'Northgate | Add Request'|trans}} {% endblock %} {% block content %} {{ tagName | title }} - {{ tagSize }} {% include 'UserPortalBundle:includes:breadcrumbs.html.twig' with {'pageName':tagName} %} {% if reqDate is defined %} {{ reqDate }} {% else %} {{ 'now'| date('M j, Y g:ia') }} {%endif%} {% set action = getActionName() %} {{ 'Store' | trans }}: {{ storeName }} {{ 'Department' | trans }}: {{ getCommaSeparatedName(departmentName) }} {{ 'Cutoff Day' | trans }}: {% if cutoffDay %} {{ cutoffDay }} {% else %} {{'N/A'|trans}} {% endif %} {{ 'Printing Day' | trans }}: {% if printingDay %} {{ printingDay }} {% else %} {{'N/A'|trans}} {% endif %} {{ 'Max Quantity' | trans }}: {{ maxQty }} {{ 'Tag Type' | trans }}: {{ tagType }} {{ 'Effective Date' | trans }}: {% if effectiveDate %} {{ effectiveDate | date('M j, Y') }} {% else %} {{ 'now'| date('M j, Y') }} {% endif %} {{ 'Enter Product AISLE Information'|trans}} {% if prodUpcArr | length == 0 %} {{ 'Upload Excel'|trans}} {{'BROWSE'|trans}} 0) and (fileName | trim | length == 0 ) %}{{'disabled'}}{%endif%} id="file-upload" name='upload_csv' type="file" style="display:none;"> {% if (fileName == '') %} {{ 'Enter UPCs Number'|trans}} {{ 'Qty'|trans}} {{'ADD'|trans}} {% endif %} {% endif %} {% if fileName is defined and fileName != '' %} {{'File Uploaded:'}} {{fileName}} {%endif%} {% if (fileName == '') %} {{ 'UPC'|trans}} {{ 'Qty'|trans}} {{ 'Description'|trans}} {% if (upcArr | length > 0) %} {{ 'Refresh'|trans}} / {% endif %} {{ 'Delete All'|trans}} {% if upcArr | length > 0 %} {% for key,upc in upcArr %} {{upc}} {{description[upc]}} {% endfor %} {{ 'No UPC Added'|trans}} {% else %} {{ 'No UPC Added' | trans }} {% endif %} {%endif%} {% if prodUpcArr | length == 0 or (fileName is defined and fileName != '') %} {% if upcArr|length == 0 %} {% set tagDisplay = 'display:block;' %} {% elseif(fileName is defined and fileName != '') %} {% set tagDisplay = 'display:block;' %} {% else %} {% set tagDisplay = 'display:none;' %} {% endif %} {% if tagHtml %} {{ tagHtml | raw }} {{ templateLayoutHtml | raw }} {% endif %} {{ 'Qty'|trans}} {% endif %} {% if key is defined %} {% set key = key %} {%else%} {% set key = 0 %} {%endif%} {{ 'Cancel'|trans}} {{ 'Save as Draft' | trans }} {{ 'Send Request'|trans}}