@extends('layouts.main') @section('title') {{ __('credits.credit_purchases') }} @endsection @section('page_title') {{ __('credits.credit_purchases') }} @endsection @php $breadcrumbs = [ ['url' => route('dashboard'), 'label' => __('credit_packages.dashboard')], ['url' => route('admin.credits.dashboard'), 'label' => __('credits.title')], ['url' => '', 'label' => __('credits.credit_purchases')], ]; @endphp @section('content')
{{ __('credits.credit_purchases_description') }}
{{ __('credits.filter_search_purchases') }}
| {{ __('credits.id') }} | {{ __('credits.date') }} | {{ __('credits.user') }} | {{ __('credits.package') }} | {{ __('credits.credits') }} | {{ __('credits.amount') }} | {{ __('credits.payment_id') }} | {{ __('credits.status') }} |
|---|---|---|---|---|---|---|---|
| #{{ $purchase->id }} |
{{ $purchase->purchased_at ? $purchase->purchased_at->format('d M Y, h:i A') : '-' }}
|
|
{{ $purchase->package->title ?? 'N/A' }} |
|
|
{{ Str::limit($purchase->payment_intent_id, 20) }}
|
@if($purchase->status === 'completed') {{ __('credits.completed') }} @elseif($purchase->status === 'pending') {{ __('credits.pending') }} @else {{ __('credits.failed') }} @endif |
{{ __('credits.no_data_found') }}{{ __('credits.no_matching_records') }} |
|||||||