@extends('front.layout.master') @section('content')

Wallet

Your balance

{{ $customer->credit }} EGP

Current Credit

{{--

Last Transaction

842.00 EGP

Transaction Date 8/15/2022

Point

5343

Based on list price

--}}
@foreach ($wallet as $index => $wal) @endforeach
# Transaction ID balance before balance after amount Date
{{ $index + 1 }} # {{ $wal->transaction_id }} {{ $wal->status == 'withdraw' ? $wal->balance + $wal->from_wallet: $wal->balance - $wal->from_wallet }} {{ $wal->balance }} {{ $wal->amount }} {{ $wal->created_at }}
@endsection