@extends('admin.layouts.app') @section('title', 'تفاصيل المستخدم') @section('page-title', 'تفاصيل المستخدم') @section('page-icon', 'fas fa-user') @section('content')
{{ $user->name }}
{{ $user->email }}
{{ $user->phone ?? 'غير محدد' }}
@if($user->governorate) {{ $user->governorate->name_ar }} @else غير محدد @endif
@if($user->city) {{ $user->city->name_ar }} @else غير محدد @endif
{{ $user->address }}
@switch($user->user_type) @case('admin') مدير @break @case('driver') سائق @break @case('restaurant_manager') مدير مطعم @break @case('gas_manager') مدير غاز @break @default راكب @endswitch
@switch($user->status) @case('active') نشط @break @case('inactive') غير نشط @break @case('suspended') موقوف @break @default غير محدد @endswitch
{{ $user->created_at->format('Y-m-d H:i') }}
{{ $user->notes }}
| # | نقطة الانطلاق | نقطة الوصول | الحالة | التاريخ | السعر |
|---|---|---|---|---|---|
| {{ $trip->id }} | {{ Str::limit($trip->pickup_location ?? '-', 30) }} | {{ Str::limit($trip->dropoff_location ?? '-', 30) }} | @switch($trip->status) @case('completed') مكتملة @break @case('in_progress') قيد التنفيذ @break @case('cancelled') ملغية @break @default {{ $trip->status }} @endswitch | {{ $trip->created_at->format('Y-m-d H:i') }} | {{ number_format($trip->fare ?? 0, 0) }} د.ع |