{% for import in pagination %} {% if import.fileUrl is null %} {% else %} {% endif %} {% if import.fileName is null %} {% else %} {% endif %} {% endfor %}
{{ knp_pagination_sortable(pagination, 'Seller', 'seller') }} {{ knp_pagination_sortable(pagination, 'Service', 'service') }} {{ knp_pagination_sortable(pagination, 'Type', 'type') }} Courier Import status {{ knp_pagination_sortable(pagination, 'Import date', 'importDate') }} {{ knp_pagination_sortable(pagination, 'Rows count', 'rowsCount') }} {{ knp_pagination_sortable(pagination, 'Status', 'state') }} Download imported data {{ knp_pagination_sortable(pagination, 'File name', 'fileName') }} Send trackings     Report type      Download trackings Send orders Actions
{{ import.seller }} {{ import.service }} {{ import.type }} {{ (import.courier is null) ? 'All' : import.courier }} {% if import.import_status == 0 %} Warning {% elseif import.import_status == 2 or import.import_status == 4 %} Downloading {% elseif import.import_status == 3 %} Error {% else %} Success {% endif %} {{ import.importDate |date("F j, Y, g:i a") }} {{ import.rowsCount }} {{ import.state }}DownloadDownloadNo file{{ import.fileName }} {% if import.uploadTrackingsStatus == 'no' %} {% if import.type == 'WebService' or import.type == 'Shipeu API' %} Send trackings {% elseif import.type == 'CSV' %} Confirm shipment {% endif %} {% elseif import.uploadTrackingsStatus == 'ok' %} Trackings sent! {% elseif import.uploadTrackingsStatus == 'error' %} Warning {% endif %}
{% if is_granted('export_trackings') %} Text {% endif %} {% if is_granted('export_tracking_tags') %} CHR COR CTT Fedex {% endif %} {% if is_granted('generate_shipping_guide') %}
{% endif %} {% if is_granted('generate_shipping_cor_guide') %}
{% endif %} {% if is_granted('generate_shipping_ctt_guide') %}
{% endif %} {% if is_granted('generate_shipping_fedex') %}
{% endif %} {% if is_granted('send_orders') %} Send to POSTNL {% endif %}
{% if import.import_status == 2 %} {% else %} {% if is_granted('import_delete') %}      {% endif %} {% if is_granted('invoices_import_history') %} {% endif %} {% endif %}