{% if printOptions.invoiceIndex is defined and printOptions.invoiceIndex %} {% endif %}

پیش فاکتور فروش کالا و خدمات

تاریخ: {{ doc.date }}


شماره: {{ doc.code }}

{% if printOptions.bidInfo %}
فروشنده

نام: {{ bid.legalName }}

شناسه ملی: {{ bid.shenasemeli }}

شماره ثبت: {{ bid.shomaresabt }}

شماره اقتصادی: {{ bid.codeeghtesadi }}

تلفن / نمابر: {{ bid.tel }}

کد پستی: {{ bid.postalcode }}

آدرس: استان {{ bid.ostan }}، شهر {{ bid.shahrestan }}، {{ bid.address }}

{% endif %}
خریدار

نام: {% if person.prelabel is not null %}{{ person.prelabel.label }}{% endif %} {{ person.nikename }}

شناسه ملی: {{ person.shenasemeli }}

شماره ثبت: {{ person.sabt }}

شماره اقتصادی: {{ person.codeeghtesadi }}

تلفن / نمابر: {{ person.tel }}

کد پستی: {{ person.postalcode }}

آدرس: استان {{ person.ostan }}، شهر {{ person.shahr }}، {{ person.address }}

{% if printOptions.discountInfo %} {% endif %} {% if printOptions.taxInfo %} {% endif %} {% set taxAll = 0 %} {% set rowIndex = 0 %} {% for item in items %} {% if doc.taxPercent %} {% set itemTax = (item.bs * item.commodityCount * doc.taxPercent / 100) | round %} {% else %} {% set itemTax = item.tax %} {% endif %} {% set taxAll = taxAll + itemTax %} {% set rowIndex = rowIndex + 1 %} {% if printOptions.discountInfo %} {% endif %} {% if printOptions.taxInfo %} {% endif %} {% endfor %}
ردیف کالا/خدمات شرح تعداد / مقدار مبلغ واحدتخفیفمالیاتمبلغ کل
{{ rowIndex }} {{ item.commodity.code }} - {{ item.commodity.name }} {{ item.des }} {{ item.commodityCount }} {{ item.commodity.unit.name }} {{ item.bs|number_format(0, '.', ',', doc.money.shortName) }} {% if item.showPercentDiscount %} {{ item.discountPercent }}% ({{ (item.bs * item.commodityCount * item.discountPercent / 100)|round|number_format(0, '.', ',', doc.money.shortName) }}) {% else %} {{ item.discountAmount|number_format(0, '.', ',', doc.money.shortName) }} {% endif %} {{ itemTax|number_format(0, '.', ',', doc.money.shortName) }} {% if item.showPercentDiscount %} {{ (item.bs * item.commodityCount - (item.bs * item.commodityCount * item.discountPercent / 100)|round)|number_format(0, '.', ',', doc.money.shortName) }} {% else %} {{ (item.bs * item.commodityCount - item.discountAmount)|number_format(0, '.', ',', doc.money.shortName) }} {% endif %}

توضیحات: {{ doc.des }}
{% if printOptions.note == true %}

یادداشت:

  • {{ note }}
{% endif %}
{% set totalDiscount = doc.showTotalPercentDiscount ? (doc.amount * doc.totalDiscountPercent / 100) | round : doc.totalDiscount %}

تخفیف: {{ totalDiscount|number_format(0, '.', ',', doc.money.shortName) }}

مالیات: {{ taxAll|number_format(0, '.', ',', doc.money.shortName) }}

حمل و نقل: {{ doc.shippingCost|number_format(0, '.', ',', doc.money.shortName) }}

جمع کل: {{ doc.amount|number_format(0, '.', ',', doc.money.shortName) }}

جمع کل نهایی: {{ (doc.amount + taxAll - totalDiscount + doc.shippingCost)|number_format(0, '.', ',', doc.money.shortName) }}

مهر و امضا خریدار

مهر و امضا فروشنده:


{% if printOptions.businessStamp is defined and printOptions.businessStamp %} {% endif %}