@extends('layouts.app') @section('title', __('dashboard.loyalty_cards_title')) @section('page_heading', __('dashboard.loyalty_cards_title')) @section('content')
{{-- KPIs --}}| العنوان | الحدث | النقاط/كرت | المولد | الأكواد | الصلاحية | التاريخ |
|---|---|---|---|---|---|---|
|
{{ $b->title }}
@if($b->notes){{ $b->notes }} @endif
|
{{ $b->event_name??'—' }} | {{ number_format($b->points_per_card) }} | {{ $b->creator?->name??'—' }} | {{ number_format($b->generated_cards_count) }} مولد {{ number_format($b->redeemed_cards_count) }} مستبدل | {{ $b->points_expiry_days?$b->points_expiry_days.' يوم':'بدون انتهاء' }} | {{ $b->created_at->format('Y-m-d') }} |
| @include('layouts.partials.empty-table-state', ['message'=>'لا توجد دفعات بعد']) | ||||||
| الكود | الدفعة | النقاط | {{ __('dashboard.status_label') }} | العميل | استبدله | صلاحية النقاط | تاريخ الاستبدال |
|---|---|---|---|---|---|---|---|
| {{ $card->code }} | {{ $card->batch?->title??'—' }} | {{ number_format($card->points_amount) }} | @if($card->status==='redeemed') مستبدل @elseif($card->status==='cancelled') ملغي @else جاهز @endif | {{ $card->redeemedCustomer?->name??'—' }} | {{ $card->redeemedBy?->name??'—' }} | {{ $card->points_expires_at?$card->points_expires_at->format('Y-m-d'):'—' }} | {{ $card->redeemed_at?$card->redeemed_at->format('Y-m-d H:i'):'—' }} |
| @include('layouts.partials.empty-table-state', ['message'=>'لا توجد أكواد لعرضها']) | |||||||