@extends('layouts.print') @section('title', 'فاکتور '.$invoice->number) @section('content')
{{ $tenant->address }}
تلفن: {{ $tenant->phone }}
فاکتور فروش
شماره: {{ $invoice->number }}
تاریخ: {{ jdate($invoice->date) }}
خریدار: {{ $invoice->customer?->name }} ({{ $invoice->customer?->code }})
موبایل: {{ $invoice->customer?->mobile }}
| # | کالا | مقدار | قیمت واحد | تخفیف | مبلغ |
|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $item->product?->name }} | {{ rm_weight($item->quantity) }} | {{ rm_money($item->unit_price) }} | {{ rm_money($item->discount) }} | {{ rm_money($item->amount) }} |
| جمع | {{ rm_money($invoice->subtotal) }} | ||||
| تخفیف | {{ rm_money($invoice->discount) }} | ||||
| مالیات | {{ rm_money($invoice->tax) }} | ||||
| مبلغ قابل پرداخت ({{ currency_label() }}) | {{ rm_money($invoice->total) }} | ||||
| دریافت شده | {{ rm_money($invoice->paid_amount) }} | ||||
| مانده | {{ rm_money($invoice->due_amount) }} | ||||
روشهای پرداخت: {{ $invoice->payment->methodSummary() }}
@endif