@extends('layouts.admin.app') @section('title', translate('customer_Wallet') . ' ' . translate('report')) @push('css_or_js') @endpush @section('content')

public {{ translate('customer') }} {{ translate('wallet') }} {{ translate('report') }}

{{ translate('filter') }} {{ translate('options') }}
@php $transaction_status = request()->get('transaction_type'); @endphp
@php $credit = $data[0]->total_credit; $debit = $data[0]->total_debit; $balance = $credit - $debit; @endphp

{{ translate('debit') }}

{{ \App\CentralLogics\Helpers::set_symbol($debit) }} dashboard

{{ translate('credit') }}

{{ \App\CentralLogics\Helpers::set_symbol($credit) }} dashboard

{{ translate('balance') }}

{{ \App\CentralLogics\Helpers::set_symbol($balance) }} dashboard

{{ translate('transactions') }}

{{-- --}} @foreach ($transactions as $k => $wt) {{-- --}} @endforeach
{{ translate('sl') }} {{ translate('transaction') }} {{ translate('id') }} {{ translate('customer') }} {{ translate('credit') }} {{ translate('debit') }} {{ translate('balance') }} {{ translate('transaction_type') }}{{translate('reference')}} {{ translate('created_at') }}
{{ $k + $transactions->firstItem() }} {{ $wt->transaction_id }} {{ Str::limit($wt->user ? $wt->user->f_name . ' ' . $wt->user->l_name : translate('not_found'), 20, '...') }} {{ $wt->credit }} {{ $wt->debit }} {{ $wt->balance }} {{ translate($wt->transaction_type) }} {{$wt->reference}}{{ date('Y/m/d ' . config('timeformat'), strtotime($wt->created_at)) }}
@if (!$transactions)
public
{{ translate('no_data_found') }}
@endif
{{--
1-15 of 380
--}}
{!! $transactions->links() !!}
@endsection @push('script') @endpush @push('script_2') @endpush