{% extends '@App/base.html.twig' %} {% block title %} OP CODES {% endblock %} {% block body %}
OP CODE | Description error | Labor AMT | Taxable Labor | Parts AMT | Taxable Parts | Shop Supplies | Taxable Supplies | Total Price | ACTION |
---|---|---|---|---|---|---|---|---|---|
OP CODE | Description | Labor AMT | Taxable Labor | Parts AMT | Taxable Parts | Shop Supplies | Taxable Supplies | Total Price | ACTION |
{{ operation_code.code }} | {{ operation_code.description }} | {{ operation_code.laborHours }}HRS | ${{ operation_code.price }} | {% if operation_code.taxableLabor == 0 %} {% set laborTax = 0 %} 0 {% else %} {% set laborTax = (operation_code.price * (settings.laborTax/100))|round(2, 'ceil') %} {{ settings.laborTax }} {% endif %}% | ${{ operation_code.parts }} | {% if operation_code.taxableParts == 0 %} {% set partsTax = 0 %} 0 {% else %} {% set partsTax = (operation_code.parts * (settings.partsSuppliesTax/100))|round(2, 'ceil') %} {{ settings.partsSuppliesTax }} {% endif %}% | ${{ operation_code.shopSupplies }} | {% if operation_code.taxableShopSupplies == 0 %} {% set shopSuppliesTax = 0 %} 0 {% else %} {% set shopSuppliesTax = (operation_code.shopSupplies * (settings.partsSuppliesTax/100))|round(2, 'ceil') %} {{ settings.partsSuppliesTax }} {% endif %}% | ${{ (operation_code.price) + (laborTax + operation_code.parts + partsTax + operation_code.shopSupplies + shopSuppliesTax) }} | Edit {% if operation_code.id != 1 %} Delete {% endif %} |