@extends('adminlte::layouts.app') @section('htmlheader_title') Home @endsection @section('contentheader_title') {{ $user->full_name }} @endsection @section('contentheader_description') Home @endsection @section('main-content')
@if ($user->accounts->count() > 2)
Accounts Linked {{ $user->accounts->count() }}
@endif
Account Balance $ {{ number_format($user->invoices_due->sum('due'),2) }}
Active Services {{ $user->services_active->count() }} /{{ $user->services->count() }}
Invoices Due {{ $user->invoices_due->count() }}
@include('widgets.services_active')
@include('widgets.invoices_due')
@include('widgets.payment_history',['limit'=>10])
@endsection