@extends('layouts.app') @section('title', __('dashboard.Edit Reservation')) @section('page_heading', __('dashboard.Edit Reservation')) @section('breadcrumb')
  • {{ __('dashboard.Home') }}
  • {{ __('dashboard.Reservations') }}
  • {{ __('dashboard.Edit Reservation') }} #{{ $reservation->id }}
  • @endsection @section('content') @include('layouts.partials.workspace-page-styles') @include('dashboard.reservations.partials.customer-lookup-styles')
    {{ __('dashboard.Edit Reservation') }}

    {{ __('dashboard.Edit Reservation') }} #{{ $reservation->id }}

    تحديث الحجز الحالي داخل نفس تجربة صفحة الإضافة مع الإبقاء على متطلبات الحالة والدفع الخاصة بالتعديل.

    مراجعة المنتج
    يمكنك الإبقاء على المنتج الحالي أو استبداله بالبحث بالاسم أو `SKU` مع فحص التوفر مباشرة.
    تحديث بيانات العميل
    راجع العميل المرتبط بالحجز أو استبدله بعميل آخر دون مغادرة نفس الصفحة.
    الحالة والتسعير
    حدّث الحالة النهائية وراجع السعر والخصم والمدفوع مع الحفاظ على ضوابط التعديل الحالية.
    @csrf @method('PATCH')
    إلغاء

    {{ __('dashboard.Update Status') }}

    @error('status')
    {{ $message }}
    @enderror

    {{ __('dashboard.Reservation Details') }}

    ابحث عن المنتج أولًا ثم راجع حالة التوفر قبل تثبيت بيانات الحجز.
    @if($reservation->product)

    {{ __('dashboard.Selected Product') }}

    {{ $reservation->product->name }}

    {{ $reservation->product->name }}

    {{ __('dashboard.SKU') }}: {{ $reservation->product->sku }} {{ $reservation->product->price }} {{ __('EGP') }}
    @endif
    is_first_time) == 1) checked @endif>
    @error('event_date')
    {{ $message }}
    @enderror
    @error('fitting_date')
    {{ $message }}
    @enderror
    @error('customer_pickup_date')
    {{ $message }}
    @enderror
    @error('customer_return_date')
    {{ $message }}
    @enderror

    {{ __('dashboard.Reservation Options') }}

    {{ __('dashboard.Notes') }}

    {{ __('dashboard.Customer Details') }}

    {{ __('dashboard.Selected Customer') }}

    @if($reservation->customer)

    {{ $reservation->customer->name }}

    {{ $reservation->customer->phone ?: '-' }}
    {{ $reservation->customer->other_phone ?: '-' }}
    {{ $reservation->customer->governorate ?: '-' }}
    {{ $reservation->customer->address ?: '-' }}
    @endif
    @if($reservation->customer)
    {{__('dashboard.Reservations')}}{{ $reservation->customer->reservations_count ?? 0 }}
    {{__('dashboard.Net Reservations Value')}}{{ $reservation->customer->net_reservations_value ?? 0 }}
    {{__('dashboard.Canceled Reservations')}}{{ $reservation->customer->canceled_reservations_count ?? 0 }}
    {{__('dashboard.Sales')}}{{ $reservation->customer->sales_count ?? 0 }}
    {{__('dashboard.Net Sales Value')}}{{ $reservation->customer->net_sales_value ?? 0 }}
    {{__('dashboard.Returned Sales')}}{{ $reservation->customer->returned_sales_count ?? 0 }}
    @endif
    {{ __('dashboard.Base Price') }} 0.00
    {{ __('dashboard.Discount') }} 0.00
    إجمالي المدفوع {{ number_format((float) old('deposit', $reservation->paid_amount), 2, '.', '') }}
    {{ __('dashboard.Final Total') }} 0.00
    @foreach($taxes as $tax) @endforeach
    @foreach($additionalExpenses as $expense) @endforeach
    shipping_type) === 'paid' ? '' : 'readonly' }}>
    @error('deposit')
    {{ $message }}
    @enderror
    إضافة الدفعات الجديدة تتم من صفحة تفاصيل الحجز حتى يتم إصدار فاتورة لكل دفعة.
    تتحدد حالة الدفع تلقائياً حسب قيمة العربون مقارنة بإجمالي الحجز.
    @can('change reservation creator')
    @endcan
    إلغاء
    @endsection @section('scripts') @endsection