@extends('layouts.print')
@section('title', 'طباعة فاتورة ' . $invoice->id . ' - '.config('app.name'))
@section('company_name', $company?->name ?? config('app.name'))
@section('company_tax', ($company && $company->tax_number) ? 'الرقم الضريبي: ' . $company->tax_number : 'الرقم الضريبي: —')
@section('company_logo')
@if($company && $company->logo_url)
@if(str_starts_with($company->logo_url, 'company/'))
@else
@endif
@elseif(file_exists(public_path('images/logo.png')))
@endif
@endsection
@section('stamp')
@if($invoice->payment_method === 'cash')
| # | المنتج | الكمية | سعر الوحدة | إجمالي البند |
|---|---|---|---|---|
| {{ $idx + 1 }} | {{ $line->item?->name_ar ?? $line->item?->code ?? '—' }} | {{ erp_qty((float) $line->quantity) }} | {{ erp_money((float) $line->unit_price) }} | {{ erp_money((float) $line->line_total) }} |
مسح الرمز للتحقق من صحة المستند