@extends('layouts.admin-master') @section('title', 'Wallet History') @section('css') @endsection @section('content')
| # | Customer | Type | Amount | Commission | Payment Info | Notes | Added By | Status |
|---|---|---|---|---|---|---|---|---|
| {{(($allWallets->perPage() * $allWallets->currentPage() - $allWallets->perPage()) + ($index+1) )}} |
@if($wallet->customer){{$wallet->customer->name }} @endif {{\Carbon\Carbon::parse($wallet->created_at)->format(Config::get('siteSetting.date_format'))}} ({{\Carbon\Carbon::parse($wallet->created_at)->diffForHumans()}}) |
{{ $wallet->type }} | @if($wallet->amount<0 || $wallet->type == 'withdraw') - {{Config::get('siteSetting.currency_symble'). str_replace('-', '', $wallet->amount) }} @else {{Config::get('siteSetting.currency_symble'). str_replace('+', '', $wallet->amount) }} @endif | {{ Config::get('siteSetting.currency_symble'). $wallet->commission }} | @if($wallet->paymentGateway){{$wallet->paymentGateway->method_name}}
@else {{$wallet->payment_method}} @endif @if($wallet->account_no){{$wallet->account_no}} @endif @if($wallet->transaction_details){{$wallet->transaction_details}} @endif |
{{ $wallet->notes }} | {{ ($wallet->addedBy) ? $wallet->addedBy->name : 'customer' }} | @if(in_array(Auth::guard('admin')->user()->id, [1,7,30]) && $wallet->type == 'walletRecharge' && $wallet->status == 'pending') @else @if($wallet->status == 'paid') {{$wallet->status}} @elseif($wallet->status == 'received') {{$wallet->status}} @elseif($wallet->status == 'cancel') {{$wallet->status}} @else {{$wallet->status}} @endif @endif |
No Wallet found. | ||||||||