{{ knp_pagination_sortable(pagination, 'Seller', 'sellerCompany') }} |
{{ knp_pagination_sortable(pagination, 'Order', 'orderId') }} |
{{ knp_pagination_sortable(pagination, 'Shipped date', 'shippedDate') }} |
{{ knp_pagination_sortable(pagination, 'Order total', 'orderTotal') }} |
{{ knp_pagination_sortable(pagination, 'Name', 'firstName') }} |
{{ knp_pagination_sortable(pagination, 'Country', 'country') }} |
{{ knp_pagination_sortable(pagination, 'Tracking', 'tracking') }} |
{{ knp_pagination_sortable(pagination, 'Tracking status', 'trackingStatus') }} |
{{ knp_pagination_sortable(pagination, 'Shipping method', 'shippingMethod') }} |
{{ knp_pagination_sortable(pagination, 'Payment method', 'paymentMethod') }} |
{{ knp_pagination_sortable(pagination, 'Service code', 'serviceCode') }} |
{{ knp_pagination_sortable(pagination, 'Prepared by', 'operator') }} |
Actions |
{% if pagination|length > 0 %}
{% for shipment in pagination %}
{{ shipment.sellerCompany }} |
{{ shipment.orderId }} |
{% if shipment.shippedDate is not null %}
{{ shipment.shippedDate |date("F j, Y, g:i a") }}
{% else %}
Not shipped
{% endif %}
|
{{ shipment.orderTotal }} |
{{ shipment.firstName }} {{ shipment.lastName }} |
{{ shipment.country }} |
{{ shipment.tracking }} |
{{ shipment.trackingStatus }} |
{{ shipment.shippingMethod }} |
{{ shipment.paymentMethod }} |
{{ shipment.serviceCode }} |
{% if shipment.operator is null %}
Not ready yet |
{% else %}
{{ shipment.operator }} |
{% endif %}
{% if is_granted('shipment_view') %}
{% endif %}
{% if is_granted('shipment_update') %}
{% endif %}
{% if is_granted('shipment_manage_boxes') and shipment.sellerTypeCode == 'PREP' %}
{% endif %}
{% if is_granted('shipment_delete') %}
{% endif %}
{% if is_granted('clone_order_form') %}
{% endif %}
{% if is_granted('invoice_order_shipment') %}
{% endif %}
{% if is_granted('export_refund_tracking_tags') and shipment.refundTracking is not null %}
{% endif %}
|
{% endfor %}
{% else %}
Not found orders |
{% endif %}
{{ knp_pagination_render(pagination) }}