@extends('admin.layouts.app') @section('title', 'تفاصيل الطلب #' . $order->id) @section('content')
طلب رقم #{{ $order->id }}
{{ $order->created_at->format('Y-m-d H:i A') }}
@csrf
العودة
بيانات العميل
الاسم {{ $order->customer_name }}
البريد الإلكتروني {{ $order->customer_email }}
رقم الهاتف {{ $order->country_code }} {{ $order->customer_phone }}
ملخص الطلب
رقم الفاتورة {{ $order->transaction_id ?? '-' }}
طريقة الدفع {{ $order->payment_method }}
الحالة الحالية @if($order->status == 'paid') مدفوع @elseif($order->status == 'pending') قيد الانتظار @elseif($order->status == 'cancelled') ملغى @else {{ $order->status }} @endif
المجموع الكلي {{ $order->total_amount }} {{ $order->currency_code }}
تفاصيل التذكرة

TICKING

{{ $order->ticket_type == 'cinema' ? 'سينما' : 'رحلة' }}

{{ $order->ticket_title }}

العميل {{ $order->customer_name }}
التاريخ {{ $order->booking_date ? $order->booking_date->format('Y-m-d') : '-' }}
التوقيت {{ $order->booking_time ?? '00:00' }}
رقم التذكرة #{{ $order->id }}
السعر الإجمالي
{{ $order->total_amount }} {{ $order->currency_code }}
{{ date('Y-m-d H:i') }}
@php $qrData = "Order ID: " . $order->id . "\n" . "Event: " . $order->ticket_title . "\n" . "Customer: " . $order->customer_name . "\n" . "Date: " . ($order->booking_date ? $order->booking_date->format('Y-m-d') : '-') . "\n" . "Time: " . ($order->booking_time ?? '-') . "\n" . "Type: " . ($order->ticket_type) . "\n" . "Status: " . $order->status; @endphp QR Code
ماسح التذاكر
امسح الكود لعرض التفاصيل
@endsection