@extends('layouts.admin') @section('title') @lang('Transactions') @endsection @section('breadcrumb')

@lang('Transactions')

@endsection @section('content')
@forelse($transactions as $item) @empty @endforelse
@lang('Date') @lang('User') @lang('Transaction ID') @lang('Description') @lang('Remark') @lang('Amount') @lang('Charge')
{{ dateFormat($item->created_at, 'd-M-Y') }} @if ($item->user_type == 1) {{ $item->user->name }} @elseif($item->user_type == 2) {{ $item->merchant->name }} @elseif($item->user_type == 3) {{ $item->agent->name }} @endif {{ __($item->trnx) }} {{ __($item->details) }} {{ ucwords(str_replace('_', ' ', $item->remark)) }} {{ $item->type }} {{ amount($item->amount, $item->currency->type, 2) }} {{ $item->currency->code }} {{ amount($item->charge, $item->currency->type, 2) }} {{ $item->currency->code }}
@lang('No data found!')
@if ($transactions->hasPages()) @endif
@endsection @push('script') @endpush