diff --git a/src/xls_templates/nakladn.xls b/src/xls_templates/nakladn.xls index 23ab385..dbce07c 100644 Binary files a/src/xls_templates/nakladn.xls and b/src/xls_templates/nakladn.xls differ diff --git a/templates/docs/nakladn/as_pdf.html b/templates/docs/nakladn/as_pdf.html index e39bbea..e40a9eb 100644 --- a/templates/docs/nakladn/as_pdf.html +++ b/templates/docs/nakladn/as_pdf.html @@ -112,7 +112,7 @@ {% if not obj.sender %} {{ profile.get_company_name|safe }}, {{ profile.address|safe }}, - ИНН {{ profile.inn }}, КПП {% if profile.kpp %}{{ profile.kpp }}{% endif %},{% if profile.get_full_phone %} тел. {{ profile.get_full_phone }},{% endif %} + ИНН {{ profile.inn }}, {% if profile.kpp %}КПП {{ profile.kpp }},{% endif %} {% if profile.get_full_phone %} тел. {{ profile.get_full_phone }},{% endif %} р/с {{ obj.bank_account.account }} в {{ obj.bank_account.name|safe }}, БИК {{ obj.bank_account.bik }}, к/с {{ obj.bank_account.korr_account }} diff --git a/templates/docs/nakladn/form.html b/templates/docs/nakladn/form.html index d0083d4..60f4609 100644 --- a/templates/docs/nakladn/form.html +++ b/templates/docs/nakladn/form.html @@ -10,6 +10,7 @@ {% if user.profile.bank_accounts.count > 1 %} {% include 'docs/parts/form_field.html' with field=form.bank_account id="bank_account" classes="left bank-account__invoice" label="Расчётный счёт" %} {% else %} + {% include 'docs/parts/form_field.html' with field=form.bank_account id="bank_account" classes="left bank-account__invoice hidden" label="Расчётный счёт" %}
{% endif %}