@extends('adminlte::layouts.app') @section('htmlheader_title') Client Home @endsection @section('page_title') {{ $o->full_name }} @endsection @section('contentheader_title') {{ $o->full_name }} @endsection @section('contentheader_description') Client Home @endsection @section('main-content')
@include('common.account.widget.summary')
@include('common.service.widget.active')

Outstanding Invoices

@include('widgets.invoice',[ 'o'=>$o->query_invoice_summary()->whereIN('account_id',$o->accounts()->pluck('id')->toArray())->having('balance','>',0), 'widget_invoice_name'=>'widget-invoice' ])

Invoices - Last 12 Months

@include('widgets.invoice',[ 'o'=>$o->query_invoice_summary()->whereIN('account_id',$o->accounts()->pluck('id')->toArray())->where('due_date','>',now()->subYear()->timestamp), 'widget_invoice_name'=>'widget-invoice-last' ])
@include('common.payment.widget.history')
@include('r.invoice.widget.next',['future'=>FALSE])
@include('r.invoice.widget.next',['future'=>TRUE])
@endsection