@extends('layouts.app') @section('title', 'سجل المشتريات') @section('sidebar') @include('customer._sidebar') @endsection @section('content')
| الباقة | المبلغ | الحالة | تاريخ الشراء | تاريخ الانتهاء |
|---|---|---|---|---|
| {{ $p->package->name_ar }} | ${{ number_format($p->amount_paid, 2) }} | {{ ['pending'=>'قيد الانتظار','paid'=>'مدفوعة','failed'=>'فشلت','refunded'=>'مسترجعة'][$p->status] }} | {{ $p->purchased_at?->format('Y-m-d') ?? '-' }} | {{ $p->expires_at?->format('Y-m-d') ?? '-' }} |
| لا توجد مشتريات بعد. | ||||