@extends('layouts.users_new') @section('title') Dashboard @stop @section('contents')

Section

Account Balance

{{ Auth::user()->acctype }}

${{ number_format(Auth::user()->accbal, 0) }}
$70,000
$55,000
$40,000
$25,000
$20,000

Section

#

{{ chunk_split(Auth::user()->credit_card_number_one, 4, ' ') }}

Card Holder
{{ Auth::user()->fname }} {{ Auth::user()->lname }}
Expire
12/24

Section

@if($transactions) @foreach($transactions as $trans) @endforeach @endif
Transaction Date Reference Number Description Credit Balance Debit Credit
{{date('jS \of F Y', strtotime($trans->created_at))}} {{ $trans->ref }} {{ $trans->description }} ${{ number_format($trans->currbal, 0) }} {{ !empty($trans->debit) ? '$'.number_format($trans->debit, 0):'' }} {{ !empty($trans->debit) ? '$'.number_format($trans->debit, 0):'' }}
@stop @section('bottom-assets') @endsection