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-05-20 12:53:14 +00:00
|
|
|
{{ $user->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">
|
|
|
|
<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>
|
|
|
|
<span class="info-box-number">{{ $user->services_active->count() }}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<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">Invoices Due</span>
|
|
|
|
<span class="info-box-number"><small>$</small>{{ number_format($user->invoices_due->sum('due'),2) }}</span>
|
|
|
|
</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">
|
|
|
|
@include('widgets.payment_history',['limit'=>10])
|
2017-12-12 05:28:49 +00:00
|
|
|
</div>
|
2018-05-20 12:53:14 +00:00
|
|
|
--}}
|
2017-12-12 05:28:49 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|