@extends('backend.layouts.customer-horizontal') @section('title','My Wallet') @section('content')
Redeem Voucher
@forelse($wallets as $wallet) @empty @endforelse
# Date Amount Applied Against Payment Method Payment Type
{{ $wallets->firstItem() + $loop->index }} {{ $wallet->created_at->format('jS M Y, h:i A') }} {{ $wallet->amount ?? 0 }} {{ $wallet->order->code ?? $wallet->voucher->code ?? null }} @if($wallet->payment_method == 'order') {{ ucwords($wallet->payment_method) }} @else {{ ucwords($wallet->payment_method) }} @endif @if($wallet->payment_type == 'credit') {{ ucwords($wallet->payment_type) }} @else {{ ucwords($wallet->payment_type) }} @endif
No record found!
{{ $wallets->links() }}
@endsection