{% extends 'D2BillingBundle::layout.html.twig' %} {% block head_script_extra %} {% endblock head_script_extra%} {% block head_style_extra %} {% endblock head_style_extra %} {% set mode = 'view' %} {% set cur_sym = d2_config('currency_symbol') %} {% block page_header %}
Sales Code | Item Description | Item Category | Default Price | Customer Price | |
---|---|---|---|---|---|
{{ loop.index }}. | {% if is_granted('ROLE_INV_ITEM_VIEW') %} {{ item.salesCode }} {% else %} {{ item.salesCode }} {% endif %} | {% if is_granted('ROLE_INV_ITEM_VIEW') %} {{ item.description }} {% else %} {{ item.description }} {% endif %} | {% if is_granted('ROLE_INV_CAT_VIEW') %} {{ item.salesCategory }} {% else %} {{ item.salesCategory }} {% endif %} | {{ cur_sym }} {{ item.basePrice|number_format(2, '.', ',') }} | {{ cur_sym }} {{ item.price|number_format(2, '.', ',') }} |