<?php $wallets = \App\Models\Wallet::where('user_id',Auth::user()->id)->orderBy('id','DESC')->get(); ?>
@foreach($wallets as $wallet)    
  <tr>
    <td><span style="color: green; font-size: 20px;">&#8377; {{$wallet->amount}}</span> @if($wallet->debit_credit_type == "MINUS") <span style="color: red; font-size: 20px;">(-)</span> @else <span style="color: blue; font-size: 20px;">(+)</span> @endif</td>
    <td>
     
         @if($wallet->debit_credit_type != "MINUS")
                Added through online payment gateway
            @else
                Deducted While Placing Order
            @endif
     
    </td>
    <td>{{$wallet->created_at}}</td>
  </tr>
@endforeach