osb/resources/views/theme/backend/adminlte/home.blade.php

104 lines
2.5 KiB
PHP
Raw Normal View History

2018-05-20 12:53:14 +00:00
@extends('adminlte::layouts.app')
@section('htmlheader_title')
{{ $o->role }} Home
@endsection
2020-02-05 04:47:24 +00:00
@section('page_title')
2018-07-17 04:10:40 +00:00
{{ $o->full_name }}
@endsection
2020-02-05 04:47:24 +00:00
@section('contentheader_title')
2019-06-02 05:35:48 +00:00
{{ $o->full_name }}
@endsection
@section('contentheader_description')
{{ $o->role }}
@endsection
@section('main-content')
<!-- Our Summary Home Page Boxes -->
2020-02-08 11:51:50 +00:00
<div class="row">
@include('common.account.widget.summary')
</div>
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>
{{--
<!-- @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>
--}}
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>
@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">
<div class="col-12 col-xl-7">
@include('service.widget.active')
2021-06-29 06:36:34 +00:00
</div>
2020-07-21 06:39:23 +00:00
<div class="col-12 col-xl-5">
2021-06-29 06:36:34 +00:00
@include('u.invoice.widgets.due')
2021-06-29 06:36:34 +00:00
@include('u.invoice.widgets.list')
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
{{--
<!-- @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>
--}}
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">
<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>
@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>
</div>
</div>
</div>
@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