@extends('layouts.main') @section('title') {{ __('credits.user_credits_management') }} @endsection @section('page_title') {{ __('credits.user_credits_management') }} @endsection @php $breadcrumbs = [ ['url' => route('dashboard'), 'label' => __('credit_packages.dashboard')], ['url' => route('admin.credits.dashboard'), 'label' => __('credits.title')], ['url' => '', 'label' => __('credits.users')], ]; @endphp @section('content')
@forelse($users as $user) @empty @endforelse
{{ __('credits.user_details') }} {{ __('credits.email') }} {{ __('credits.total_credits') }} {{ __('credits.used_credits') }} {{ __('credits.available_credits') }} {{ __('credits.purchases') }} {{ __('credits.actions') }}

{{ $user->name }}

{{ __('credits.id') }}: #{{ $user->id }}

{{ $user->email }}
{{ number_format($user->total_credits) }}
{{ number_format($user->used_credits) }}
{{ number_format($user->availableCredits()) }}
{{ $user->credit_purchases_count }}
@can('credits.manage_users') @endcan @can('credits.view_transactions') @endcan

{{ __('credits.no_data_found') }}

{{ __('credits.no_matching_records') }}

@endsection @push('custom_styles') @endpush @push('custom_scripts') @endpush