{{ fa_pdf($tenant->name) }}
{{ fa_pdf($tenant->address) }}
{{ fa_pdf('فاکتور فروش') }}
{{ fa_pdf('شماره: '.$invoice->number) }}
{{ fa_pdf('تاریخ: '.jdate($invoice->date)) }}

{{ fa_pdf('خریدار: '.($invoice->customer?->name ?? '-')) }}   {{ fa_pdf('موبایل: '.($invoice->customer?->mobile ?? '-')) }}

@foreach ($invoice->items as $item) @endforeach
{{ fa_pdf('کالا') }} {{ fa_pdf('مقدار') }} {{ fa_pdf('قیمت واحد') }} {{ fa_pdf('تخفیف') }} {{ fa_pdf('مبلغ') }}
{{ fa_pdf($item->product?->name) }} {{ fa_pdf(rm_weight($item->quantity)) }} {{ fa_pdf(rm_money($item->unit_price)) }} {{ fa_pdf(rm_money($item->discount)) }} {{ fa_pdf(rm_money($item->amount)) }}
{{ fa_pdf('جمع') }}{{ fa_pdf(rm_money($invoice->subtotal)) }}
{{ fa_pdf('تخفیف') }}{{ fa_pdf(rm_money($invoice->discount)) }}
{{ fa_pdf('مالیات') }}{{ fa_pdf(rm_money($invoice->tax)) }}
{{ fa_pdf('مبلغ نهایی') }}{{ fa_pdf(rm_money($invoice->total)) }}

{{ fa_pdf('این سند به صورت خودکار توسط سامانه صادر شده است.') }}