معلومات المستخدم

الاسم: {{ $creditRequest->user->name ?? 'غير محدد' }}

البريد: {{ $creditRequest->user->email ?? 'غير محدد' }}

معلومات الطلب

المبلغ النهائي: {{ formatNumberClean($creditRequest->final_amount) }} {{ $creditRequest->currency->name ?? '' }}

المبلغ الاولي: {{ formatNumberClean($creditRequest->amount) }} {{ $creditRequest->currency->name ?? '' }}

وسيلة الشحن: {{ $creditRequest->method->name ?? 'غير محدد' }}

@if ($creditRequest->payment_id)

معرف الدفع: {{ $creditRequest->payment_id }}

@endif @if ($creditRequest->operation_number)

رقم العملية: @if ($creditRequest->hasResendPrefix()) {{ $creditRequest->getResendPrefix() }}{{ $creditRequest->getOriginalOperationNumber() }} @else {{ $creditRequest->operation_number }} @endif

{{-- Toggle Resend Button --}} @if ($creditRequest->status === 'rejected' && can_admin('credit_requests_approve')) @php $hasPrefix = $creditRequest->hasResendPrefix(); $canDisable = $hasPrefix ? app(\App\Actions\CreditRequest\ToggleResendOperationAction::class)->canDisableResend($creditRequest->id) : true; @endphp
@if ($hasPrefix) @else @endif
@endif @endif

الحالة: @switch($creditRequest->status) @case('pending') في الانتظار @break @case('approved') مقبول @break @case('rejected') مرفوض @break @default غير محدد @endswitch

@if ($creditRequest->status === 'rejected' && $creditRequest->note) @endif
الحقول الإضافية
@if ($creditRequest->attachment_values) @foreach ($creditRequest->attachment_values as $key => $value) @if (str_starts_with($value, 'file__')) @php $cleanValue = str_replace('file__', '', $value); $imagePath = route('admin.media.credit-request.attachment', [ 'creditRequest' => $creditRequest->id, 'field' => $key, ]); @endphp
{{ $key }}:
{{ $key }} لا يمكن تحميل الصورة
@else

{{ $key }}: {{ $value }}

@endif @endforeach @else

لا توجد حقول إضافية

@endif

تاريخ الإنشاء: {{ $creditRequest->created_at?->format('Y-m-d H:i:s') ?? '' }}

@if ($creditRequest->updated_by && $creditRequest->admin)

تم التحديث بواسطة: {{ $creditRequest->admin->name ?? 'غير محدد' }}

@endif