@include('Admin.Includes.header') @php use Illuminate\Support\Facades\Auth; use App\General\DiscountClass; $logged_in_user = Auth::user(); @endphp
@if (session('success'))
{{ session('success') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{{ __('Purchased Cards List') }}
@php $i = 1; @endphp @foreach ($gift_cards as $gift_card) @php $i++; @endphp @endforeach
# Card Title User Name User Email User Phone Purchasing Date Expiry Date Used
{{ $i }} {{ $gift_card->card->title ?? 'N/A' }} {{ $gift_card->customer_name ?? 'N/A' }} {{ $gift_card->customer_email ?? 'N/A' }} {{ $gift_card->customer_phone ?? 'N/A' }} {{ $gift_card->purchasing_date ?? 'N/A' }} {{ $gift_card->expiry_date ?? 'N/A' }} {{ $gift_card->used_times }} Times
# Card Title User Name User Email User Phone Purchasing Date Expiry Date Used
@include('Admin.Includes.footer')