@extends('layouts.admin') @section('title') Dashboard @endsection @section('contents')
Number of Users
{{ $countUsers }}
{{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
Number of Transactions
--}} {{--
--}} {{--
--}} {{--
$1,723.50
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
Total Transactions
14,355
--}}

Summary

Recent Users
@foreach ($users as $user) @endforeach
Name Email Country State Mobile Account Number Account Type Status Date Registered
{{ $user->fname }} {{ $user->lname }} {{ $user->email }} {{ $user->country }} {{ $user->state }} {{ $user->mobile }} {{ $user->accnum }} {{ $user->acctype }} {{ $user->is_active == 1 ? 'Active':'Inactive' }} {{date('jS \of F Y', strtotime($user->created_at))}}
Recent Transactions
@if($transactions) @foreach($transactions as $trans) @endforeach @endif
Name Reference Number Description Credit Balance Debit Credit Transaction Date
{{ $trans->user ? $trans->user->fname : '' }} {{ $trans->user ? $trans->user->lname : '' }} {{ $trans->ref }} {{ $trans->description }} ${{ number_format($trans->currbal, 0) }} {{ !empty($trans->debit) ? '$'.number_format($trans->debit, 0):'' }} {{ !empty($trans->credit) ? '$'.number_format($trans->credit, 0):'' }} {{date('jS \of F Y', strtotime($trans->created_at))}}
Recent Transfers
@foreach($transfers as $trans) @endforeach
Sender Receiving Bank Receiver Receiver Account Number Amount COT Insurance Code Tax revenue Code Description Ref Status Date of Trasfer
{{ $trans->user ? $trans->user->fname : '' }} {{ $trans->user ? $trans->user->lname : '' }} {{ $trans->recbank }} {{ $trans->recaccname }} {{ $trans->recaccnum }} ${{ $trans->amt }} {{ $trans->cost_of_transfer }} {{ $trans->insurance_code }} {{ $trans->tax_revenue_code }} {{ $trans->description }} {{ $trans->ref }} {{ $trans->status }} {{ date('jS \of F Y', strtotime($trans->created_at)) }}
@endsection @section('page-scripts') @endsection