@php
$invoice = \App\Support\InvoiceSettings::from($cachedSettings);
$invoiceNumber = \App\Support\InvoiceSettings::number($invoice, $reservation->id);
@endphp
| {{ __('dashboard.partial_invoice') }} #: {{ $invoiceNumber }} |
{{ __('dashboard.date') }}: {{ $reservation->created_at->format('Y-m-d') }} |
@if ($reservation->customer)
| {{ __('dashboard.customer') }}: {{ $reservation->customer->name }} |
@if ($reservation->customer->address)
| {{ __('dashboard.address') }}: {{ $reservation->customer->address }} |
@endif
@if ($reservation->customer->governorate)
| {{ __('dashboard.governorate') }}: {{ $reservation->customer->governorate }} |
@endif
| {{ __('dashboard.phone') }}: {{ $reservation->customer->phone }} |
@endif
| {{ __('dashboard.price') }}: |
{{ $reservation->price }} |
@if ($reservation->paid_amount > 0)
| {{ __('dashboard.deposit') }}: |
{{ $reservation->paid_amount }} |
@endif
| {{ __('dashboard.remaining') }}: |
{{ $reservation->remaining_amount }} |
| {{ __('dashboard.price') }}: |
{{ $reservation->price }} |
@if ($reservation->paid_amount > 0)
| {{ __('dashboard.deposit') }}: |
{{ $reservation->paid_amount }} |
@endif
{{-- إضافة خاصية لبسة أولى --}}
| {{ __('dashboard.first_time_wear') }}: |
{{ $reservation->is_first_time ? __('dashboard.yes') : __('dashboard.no') }} |
@if ($invoice['terms'])
{{ $invoice['terms'] }}
@endif
@if ($invoice['footer'])
{{ $invoice['footer'] }}
@endif