{% extends 'D2ShopBundle::base_admin.html.twig' %} {% block head_script_extra %} {% endblock head_script_extra %} {% block page_header %}
{{ knp_pagination_sortable(shop_stock_items, 'Status', 's.enabled') }} | {{ knp_pagination_sortable(shop_stock_items, 'Approved', 's.approved') }} | {{ knp_pagination_sortable(shop_stock_items, 'Product', 'p.product_name') }} | {{ knp_pagination_sortable(shop_stock_items, 'Image', 's.orig_path') }} | {{ knp_pagination_sortable(shop_stock_items, 'Bar Code', 's.bar_code') }} | {{ knp_pagination_sortable(shop_stock_items, 'Description', 's.description') }} | {{ knp_pagination_sortable(shop_stock_items, 'Price (Excl)', 's.item_price') }} | {{ knp_pagination_sortable(shop_stock_items, 'Quantity', 's.stock_quantity') }} | {{ knp_pagination_sortable(shop_stock_items, 'Date', 's.date') }} | ||
---|---|---|---|---|---|---|---|---|---|---|
{{ with_selected_checkbox('shop_stock_item_list', entity.id) }} | ![]() |
![]() |
{% if entity.product is not null %}{{ entity.product.productName|trim }}{% endif %} | {{ entity.origPath|trim }} | {{ entity.barCode|trim }} | {{ entity.description|trim }} | {{ entity.itemPrice|number_format(2, '.', '') }} | {{ entity.stockQuantity|number_format(0, '.', '') }} | {{ entity.date|date("Y/m/d") }} |
|