{% extends "docs/_base/base_form.html" %} {% load my_tags %} {% block form_content %}
{% include 'docs/parts/form_field.html' with field=form.doc_num id="doc_num" classes="left" label="Номер" required="True" no_clear_after="True" %} {% include 'docs/parts/form_field.html' with field=form.doc_date id="doc_date" classes="left" label="Дата создания" required="True" no_clear_after="True" %} {% include 'docs/parts/form_field.html' with field=form.bank_account %} {% comment %} TODO: fix frontend {% endcomment %}
{% include 'docs/parts/form_field_client.html' with field=form.client required="True" is_ajax="True" %} {% include 'docs/parts/form_field.html' with field=form.invoice id="invoice" classes="field hidden" label="Создать акт по счёту" %}
{% include 'docs/parts/form_field.html' with field=form.nds_value id="nds_value" classes="left" label="НДС" no_clear_after="True" %} {% include 'docs/parts/form_field.html' with field=form.nds_method id="nds_method" classes="left nds-method hidden" no_clear_after="True" %} {% if formset %} {% include 'docs/parts/form_tbl_items.html' %} {% endif %}
{% endblock %}