@extends('admin.layouts.master') @section('title', 'عرض سعر #'.$quotation->quotation_no) @section('page-header')
عروض الأسعار

عرض سعر: {{ $quotation->quotation_no }}

طباعة تعديل العودة
@endsection @section('content')

بيانات العميل

العميل:
{{ $quotation->customer?->name }}
الكود:
{{ $quotation->customer?->code }}
الهاتف:
{{ $quotation->customer?->mobile ?? $quotation->customer?->phone ?? '-' }}

بيانات العرض

الفرع:
{{ $quotation->branch?->name }}
تاريخ العرض:
{{ $quotation->quotation_date?->format('Y-m-d') }}
صالح حتى:
{{ $quotation->valid_until?->format('Y-m-d') ?? '-' }}
الحالة:
{{ $quotation->status_label }}
أنشئ بواسطة:
{{ $quotation->createdBy?->name ?? '-' }}

الأصناف

@foreach($quotation->items as $line) @endforeach
الوصفالنوعالمقاسالكميةسعر الوحدةالإجمالي
{{ $line->description }} {{ ['offset'=>'أوفست','digital'=>'ديجيتال','flex'=>'فلكس','packaging'=>'تغليف'][$line->printing_type] ?? $line->printing_type }} {{ $line->final_size ?? '-' }} {{ number_format($line->quantity) }} {{ number_format($line->unit_price, 2) }} {{ number_format($line->total_price, 2) }}
@if($quotation->terms)
الشروط:

{{ $quotation->terms }}

@endif @if($quotation->notes)
ملاحظات:

{{ $quotation->notes }}

@endif
الإجمالي قبل الخصم:{{ number_format($quotation->subtotal, 2) }} ج.م
الخصم:{{ number_format($quotation->discount_amount, 2) }} ج.م
الضريبة ({{ $quotation->tax_percent }}%):{{ number_format($quotation->tax_amount, 2) }} ج.م
الإجمالي النهائي:{{ number_format($quotation->total_amount, 2) }} ج.م
@endsection