@extends('layouts.app') @section('title', 'عرض سعر') @section('page_title', 'عرض السعر ' . $quotation->code) @section('breadcrumb') @endsection @section('page_actions') طباعة @can('quotations.edit') @if (in_array($quotation->status, ['draft', 'sent'])) تعديل @endif @endcan @can('invoices.create') @if ($quotation->customer_id) @endif @endcan @endsection @section('content')
  • رقم العرض{{ $quotation->code }}
  • العميل @if ($quotation->customer) {{ $quotation->customer->display_name }} @elseif ($quotation->lead) {{ $quotation->lead->name }} (محتمل) @else — @endif
  • التاريخ{{ arabicDate($quotation->date) }}
  • صالح حتى{{ arabicDate($quotation->valid_until) }}
  • الحالة{!! badge($quotation->status_label, $quotation->status_color) !!}
  • أنشأه{{ $quotation->creator?->name ?? '—' }}
الملخص المالي
  • الإجمالي قبل الضريبة{{ currency($quotation->subtotal) }}
  • الضريبة{{ currency($quotation->tax) }}
  • خصم إضافي- {{ currency($quotation->discount) }}
  • الإجمالي{{ currency($quotation->total) }}
@can('quotations.edit')
تغيير الحالة
@csrf
@endcan
البنود
@foreach ($quotation->items as $i => $item) @endforeach
#البيانالكميةالسعرالخصمالضريبةالإجمالي
{{ $i + 1 }} {{ $item->description }} @if ($item->product)
{{ $item->product->code }}
@endif
{{ (float) $item->quantity }} {{ currency($item->price) }} {{ currency($item->discount) }} {{ (float) $item->tax_rate }}% ({{ currency($item->tax_amount) }}) {{ currency($item->total) }}
@if ($quotation->invoices->isNotEmpty())
الفواتير المرتبطة
@foreach ($quotation->invoices as $invoice) @endforeach
الرقمالتاريخالإجماليالحالة
{{ $invoice->code }} {{ arabicDate($invoice->date) }} {{ currency($invoice->total) }} {!! badge($invoice->status_label, $invoice->status_color) !!}
@endif @if ($quotation->terms)
الشروط والأحكام

{{ $quotation->terms }}

@endif
@endsection