@extends('admin.layouts.app') @section('main_content')

{{translate($title)}}

{{translate('Reward point List')}}
@forelse($rewardsLogs as $reward_log) @empty @endforelse
{{translate('Customer')}} {{translate("Total point")}} {{translate("Status")}} {{translate("Expired at")}} {{translate("Created at")}} {{translate("Details")}}
@if($reward_log->user) {{$reward_log->user->email}} @else - @endif {{$reward_log->point}} @php echo reward_status($reward_log->status) @endphp {{ $reward_log->expired_at ? get_date_time($reward_log->expired_at) : 'N/A' }} {{$reward_log->created_at ? get_date_time($reward_log->created_at) : 'N/A' }} {{ $reward_log->details }}
@include('admin.partials.not_found')
{{$rewardsLogs ->appends(request()->all())->links()}}
@endsection @push('script-push') @endpush