2018-05-20 12:53:14 +00:00
|
|
|
@extends('adminlte::layouts.app')
|
2017-12-12 05:28:49 +00:00
|
|
|
|
|
|
|
@section('htmlheader_title')
|
2018-05-20 12:53:14 +00:00
|
|
|
Home
|
2017-12-12 05:28:49 +00:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('contentheader_title')
|
2018-07-17 04:10:40 +00:00
|
|
|
{{ $o->full_name }}
|
2017-12-12 05:28:49 +00:00
|
|
|
@endsection
|
|
|
|
@section('contentheader_description')
|
|
|
|
Home
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('main-content')
|
2018-05-20 12:53:14 +00:00
|
|
|
<div class="content">
|
|
|
|
<div class="row">
|
2018-07-17 04:10:40 +00:00
|
|
|
@if ($o->accounts->count() > 2)
|
2018-07-16 05:06:43 +00:00
|
|
|
<div class="col-sm-3">
|
|
|
|
<div class="info-box">
|
|
|
|
<span class="info-box-icon bg-orange"><i class="fa fa-user"></i></span>
|
|
|
|
<div class="info-box-content">
|
|
|
|
<span class="info-box-text">Accounts Linked</span>
|
2018-07-17 04:10:40 +00:00
|
|
|
<span class="info-box-number">{{ $o->accounts->count() }}</span>
|
2018-07-16 05:06:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endif
|
2018-06-05 11:13:57 +00:00
|
|
|
<div class="col-sm-3">
|
|
|
|
<div class="info-box">
|
|
|
|
<span class="info-box-icon bg-red"><i class="fa fa-dollar"></i></span>
|
|
|
|
<div class="info-box-content">
|
|
|
|
<span class="info-box-text">Account Balance</span>
|
2018-07-17 04:10:40 +00:00
|
|
|
<span class="info-box-number"><small>$</small> {{ number_format($o->invoices_due->sum('due'),2) }}</span>
|
2018-06-05 11:13:57 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-05-20 12:53:14 +00:00
|
|
|
<div class="col-sm-3">
|
|
|
|
<div class="info-box">
|
|
|
|
<span class="info-box-icon bg-green"><i class="fa fa-clone"></i></span>
|
|
|
|
<div class="info-box-content">
|
|
|
|
<span class="info-box-text">Active Services</span>
|
2018-07-17 04:10:40 +00:00
|
|
|
<span class="info-box-number">{{ $o->services_active->count() }} <small>/{{ $o->services->count() }}</small></span>
|
2018-05-20 12:53:14 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-3">
|
|
|
|
<div class="info-box">
|
2018-07-16 05:06:43 +00:00
|
|
|
<span class="info-box-icon bg-blue"><i class="fa fa-hashtag"></i></span>
|
2018-05-20 12:53:14 +00:00
|
|
|
<div class="info-box-content">
|
|
|
|
<span class="info-box-text">Invoices Due</span>
|
2018-07-17 04:10:40 +00:00
|
|
|
<span class="info-box-number">{{ $o->invoices_due->count() }}</span>
|
2018-05-20 12:53:14 +00:00
|
|
|
</div>
|
2017-12-12 05:28:49 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-05-20 12:53:14 +00:00
|
|
|
</div>
|
2017-12-12 05:28:49 +00:00
|
|
|
|
2018-05-20 12:53:14 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-7">
|
|
|
|
@include('widgets.services_active')
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-5">
|
|
|
|
@include('widgets.invoices_due')
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-5">
|
2018-07-17 04:10:40 +00:00
|
|
|
@include('widgets.payment_history')
|
2017-12-12 05:28:49 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|