You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

30 lines
1.6 KiB

{% extends "docs/_base/base_form.html" %}
{% load my_tags %}
{% block form_content %}
<div class="block">
{% 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"%}
{% if user.profile.bank_accounts.count > 1 %}
{% include 'docs/parts/form_field.html' with field=form.bank_account id="bank_account" classes="field" label="Расчётный счёт" %}
{% else %}
{% include 'docs/parts/form_field.html' with field=form.bank_account id="bank_account" classes="field hidden" label="Расчётный счёт" %}
{% endif %}
{% include 'docs/parts/form_field_client.html' with field=form.client required="True" is_ajax="True" %}
</div>
<div class="block">
{% 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" %}
</div>
{% if formset %}
<div class="block bt">
{% include 'docs/parts/form_tbl_items.html' %}
</div>
{% endif %}
<div class="block">
{% include 'docs/parts/form_field.html' with field=form.doc_text id="doc_text" classes="field" label="Дополнительные условия" %}
</div>
{% endblock %}