2018-05-20 12:53:14 +00:00
|
|
|
@extends('adminlte::layouts.app')
|
2017-12-12 05:28:49 +00:00
|
|
|
|
|
|
|
@section('htmlheader_title')
|
2022-04-21 04:41:26 +00:00
|
|
|
{{ $o->role }} Home
|
2017-12-12 05:28:49 +00:00
|
|
|
@endsection
|
2020-02-05 04:47:24 +00:00
|
|
|
@section('page_title')
|
2018-07-17 04:10:40 +00:00
|
|
|
{{ $o->full_name }}
|
2017-12-12 05:28:49 +00:00
|
|
|
@endsection
|
2020-02-05 04:47:24 +00:00
|
|
|
|
|
|
|
@section('contentheader_title')
|
2019-06-02 05:35:48 +00:00
|
|
|
{{ $o->full_name }}
|
|
|
|
@endsection
|
2017-12-12 05:28:49 +00:00
|
|
|
@section('contentheader_description')
|
2022-04-21 04:41:26 +00:00
|
|
|
{{ $o->role }}
|
2017-12-12 05:28:49 +00:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('main-content')
|
2022-04-21 04:41:26 +00:00
|
|
|
<!-- Our Summary Home Page Boxes -->
|
2020-02-08 11:51:50 +00:00
|
|
|
<div class="row">
|
|
|
|
@include('common.account.widget.summary')
|
|
|
|
</div>
|
2017-12-12 05:28:49 +00:00
|
|
|
|
2020-02-08 11:51:50 +00:00
|
|
|
<div class="row">
|
2021-06-29 06:36:34 +00:00
|
|
|
<div class="col-12">
|
|
|
|
<div class="card-header bg-white">
|
|
|
|
<ul class="nav nav-pills">
|
|
|
|
<li class="nav-item"><a class="nav-link active" href="#tab-services" data-toggle="tab">Services</a></li>
|
2022-04-21 04:41:26 +00:00
|
|
|
{{--
|
|
|
|
<!-- @todo this is not working -->
|
2021-06-29 06:36:34 +00:00
|
|
|
<li class="nav-item"><a class="nav-link" href="#tab-nextinvoice" data-toggle="tab">Next Invoice</a></li>
|
2022-04-21 04:41:26 +00:00
|
|
|
--}}
|
2021-06-29 06:36:34 +00:00
|
|
|
<li class="nav-item"><a class="nav-link" href="#tab-futureinvoice" data-toggle="tab">Future Invoice</a></li>
|
2022-04-21 04:41:26 +00:00
|
|
|
|
|
|
|
@if ($o == $user)
|
|
|
|
@canany('reseller','wholesaler')
|
|
|
|
<li class="nav-item ml-auto"><a class="nav-link" href="#tab-reseller" data-toggle="tab">Reseller</a></li>
|
|
|
|
@endcanany
|
|
|
|
@endif
|
2021-06-29 06:36:34 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2020-07-21 06:39:23 +00:00
|
|
|
|
2021-06-29 06:36:34 +00:00
|
|
|
<div class="card-body pl-0 pr-0">
|
|
|
|
<div class="tab-content">
|
|
|
|
<div class="active tab-pane" id="tab-services">
|
|
|
|
<div class="row">
|
2022-04-21 04:41:26 +00:00
|
|
|
<div class="col-12 col-xl-7">
|
2022-07-29 07:45:17 +00:00
|
|
|
@include('service.widget.active')
|
2021-06-29 06:36:34 +00:00
|
|
|
</div>
|
2020-07-21 06:39:23 +00:00
|
|
|
|
2022-04-21 04:41:26 +00:00
|
|
|
<div class="col-12 col-xl-5">
|
2021-06-29 06:36:34 +00:00
|
|
|
@include('u.invoice.widgets.due')
|
2020-07-21 07:41:24 +00:00
|
|
|
|
2021-06-29 06:36:34 +00:00
|
|
|
@include('u.invoice.widgets.list')
|
2020-07-21 07:41:24 +00:00
|
|
|
|
2021-06-29 06:36:34 +00:00
|
|
|
@include('u.payment.widgets.list')
|
2020-02-08 11:51:50 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-29 06:36:34 +00:00
|
|
|
</div>
|
2020-02-08 11:51:50 +00:00
|
|
|
|
2022-04-21 04:41:26 +00:00
|
|
|
{{--
|
|
|
|
<!-- @todo this is not working -->
|
2021-06-29 06:36:34 +00:00
|
|
|
<div class="tab-pane" id="tab-nextinvoice">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12">
|
|
|
|
@include('u.invoice.widgets.next',['future'=>FALSE])
|
2020-02-08 11:51:50 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-29 06:36:34 +00:00
|
|
|
</div>
|
2022-04-21 04:41:26 +00:00
|
|
|
--}}
|
2019-06-02 05:35:48 +00:00
|
|
|
|
2021-06-29 06:36:34 +00:00
|
|
|
<div class="tab-pane" id="tab-futureinvoice">
|
|
|
|
<div class="row">
|
2022-04-21 04:41:26 +00:00
|
|
|
<div class="col-12 col-xl-9">
|
2021-06-29 06:36:34 +00:00
|
|
|
@include('u.invoice.widgets.next',['future'=>TRUE])
|
2020-02-08 11:51:50 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-04-21 04:41:26 +00:00
|
|
|
|
|
|
|
@if ($o == $user)
|
|
|
|
@canany('reseller','wholesaler')
|
|
|
|
<div class="tab-pane" id="tab-reseller">
|
|
|
|
@include('r.home.widgets.home')
|
|
|
|
</div>
|
|
|
|
@endcanany
|
|
|
|
@endif
|
2020-02-08 11:51:50 +00:00
|
|
|
</div>
|
2017-12-12 05:28:49 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-04-21 04:41:26 +00:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('page-scripts')
|
|
|
|
<script>
|
|
|
|
$(document).ready(function() {
|
|
|
|
$('body')
|
|
|
|
.addClass('sidebar-collapse')
|
|
|
|
.delay(500)
|
|
|
|
.queue(function () {
|
|
|
|
window.dispatchEvent(new Event('resize'));
|
|
|
|
$(this).dequeue();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
@append
|