|
{% if printOptions.invoiceIndex is defined and printOptions.invoiceIndex %}
|
پیش فاکتور فروش کالا و خدمات |
تاریخ: {{ doc.date }}شماره: {{ doc.code }} |
|
نام: {{ bid.legalName }} |
شناسه ملی: {{ bid.shenasemeli }} |
شماره ثبت: {{ bid.shomaresabt }} |
شماره اقتصادی: {{ bid.codeeghtesadi }} |
تلفن / نمابر: {{ bid.tel }} |
|
کد پستی: {{ bid.postalcode }} |
آدرس: استان {{ bid.ostan }}، شهر {{ bid.shahrestan }}، {{ bid.address }} |
|||
|
نام: {% 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 %}مبلغ کل |
|---|---|---|---|---|---|---|---|
| {{ rowIndex }} | {{ item.commodity.code }} - {{ item.commodity.name }} | {{ item.des }} | {{ item.commodityCount }} {{ item.commodity.unit.name }} | {{ item.bs|number_format(0, '.', ',', doc.money.shortName) }} | {% if printOptions.discountInfo %}{% 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 %} | {% endif %} {% if printOptions.taxInfo %}{{ itemTax|number_format(0, '.', ',', doc.money.shortName) }} | {% endif %}{% 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 }}
|
{% 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 %} |