@extends('layouts.print')
@push('print_styles')
@endpush
@section('title', 'طباعة عرض السعر ' . $quotation->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('watermark')
@if($quotation->status === \App\Models\Quotation::STATUS_DRAFT)
| # | المنتج | الكمية | سعر الوحدة | الخصم % | الضريبة % | إجمالي البند |
|---|---|---|---|---|---|---|
| {{ $idx + 1 }} | {{ $line->item?->name_ar ?? $line->item?->code ?? '—' }} | {{ erp_qty((float) $line->quantity) }} | {{ erp_money((float) $line->unit_price) }} | {{ erp_qty((float) $line->discount_percent) }} | {{ erp_qty((float) $line->tax_percent) }} | {{ erp_money((float) $line->line_total) }} |
مسح الرمز للتحقق من صحة المستند