@extends('layouts.user') @section('content')

{{ __('Redeem') }}

@include('admin.message')
Current Wallet
{{ 'Rp '.number_format(auth()->user()->getPoint(),2,',','.')}}
Total Withdrawal
Rp. 50.000
Withdrawal Information
@csrf
{{-- Notification --}}
{{--
--}} {{--
--}}
Pending Withdrawal
No Amount Bank Account Number Status Date
1 Rp. 100 Bank BCA 1234567890 Pending 11 August 2023
2 RP. 200 Bank Mandiri 9876543210 Success 11 August 2023
Transaction
@foreach ($userPoints as $key => $item) @endforeach
No Amount Category Date
{{ $key + 1 }} Rp. {{ custom_number_format($item->amount , 2, ',', '.') }} {{ $item->category }} {{ \Carbon\Carbon::parse($item->created_at)->format('d F Y') }}
@endsection