@extends('admin.layouts.app') @section('panel')
{{ $userType != 'all' ? ucfirst(__($userType)) : __('User') }} @if ($userType == 'all') @lang('User Type') @endif @lang('Transacted') @lang('TRX') @lang('Amount') @lang('Charge') @lang('Post Balance') | @lang('Detail') @forelse($transactions as $trx) @if ($trx->user_id != 0) @elseif ($trx->agent_id != 0) @elseif ($trx->merchant_id != 0) @else @lang('N/A') @endif @if ($userType == 'all') @if ($trx->user_id != 0) @lang('User') @elseif ($trx->agent_id != 0) @lang('Agent') @elseif ($trx->merchant_id != 0) @lang('Merchant') @else @lang('N/A') @endif @endif {{ showDateTime($trx->created_at) }}
{{ diffForHumans($trx->created_at) }} {{ $trx->trx }} {{ $trx->trx_type }} {{ showAmount($trx->amount) }} {{ showAmount($trx->charge) }}
{{ showAmount($trx->post_balance) }} {{ __($trx->details) }}
@empty @endforelse
@if ($transactions->hasPages()) {{ paginateLinks($transactions) }} @endif
@endsection