{% extends 'admin/layout.html.twig' %} {% block title %}{{ is_new ? 'New' : 'Edit' }} Invoice - KitscoApp{% endblock %} {% block page_title %}{{ is_new ? 'New Invoice' : 'Edit Invoice #' ~ invoice.displayInvoiceNumber }}{% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block content %} {{ form_start(form, {'attr': {'id': 'invoice-form'}}) }}
How many TZS equals 1 unit of the selected currency
{% do form.exchangeRate.setRendered %}| Product | Description | Qty | Price | Amount | |
|---|---|---|---|---|---|
|
{# Custom dropdown for Product #}
{% set product_options = [{value: '', label: '-- Custom Item --'}] %}
{% for choice in item.product.vars.choices %}
{% set product_options = product_options|merge([{value: choice.value, label: choice.label}]) %}
{% endfor %}
{% for option in product_options %}
{{ option.label }}
{% endfor %}
No results found
|
{{ form_widget(item.description) }} | {% include 'components/_quantity_stepper.html.twig' with { id: item.quantity.vars.id, name: item.quantity.vars.full_name, value: item.quantity.vars.value|default(1), min: 1 } %} {% do item.quantity.setRendered %} | {{ form_widget(item.unitPrice, {'attr': {'class': 'item-price'}}) }} | 0 | |
|
No results found
|
- | ||||
| TOTAL: | 0 | ||||