Optimisations for resellers home page
This commit is contained in:
parent
2b49d47652
commit
e106adc69e
@ -96,7 +96,7 @@
|
||||
@if ($o == $user)
|
||||
@canany('reseller','wholesaler')
|
||||
<div class="tab-pane" id="tab-reseller" role="tabpanel">
|
||||
@include('theme.backend.adminlte.r.home.widgets.home')
|
||||
@include('theme.backend.adminlte.r.home.widget.home')
|
||||
</div>
|
||||
@endcanany
|
||||
@endif
|
||||
|
@ -17,7 +17,7 @@
|
||||
@foreach ($user->accounts as $ao)
|
||||
<tr>
|
||||
<td><a href="{{ url('r/switch/start',$ao->user_id) }}"><i class="fas fa-external-link-alt"></i></a></td>
|
||||
<td>{{ $ao->name }}</td>
|
||||
<td>{{ $ao->name }}</td>
|
||||
<td class="text-right">{{ $ao->services->where('active',TRUE)->count() }} <small>/{{ $ao->services->count() }}</small></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@ -37,8 +37,11 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@section('page-scripts')
|
||||
@section('page-styles')
|
||||
@css(datatables,bootstrap4)
|
||||
@append
|
||||
|
||||
@section('page-scripts')
|
||||
@js(datatables,bootstrap4)
|
||||
|
||||
<script type="text/javascript">
|
||||
@ -50,10 +53,6 @@
|
||||
order: [1,'asc'],
|
||||
pageLength: 10
|
||||
});
|
||||
|
||||
$('#accounts tbody').on('click','tr', function () {
|
||||
$(this).toggleClass('selected');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@append
|
@ -2,8 +2,9 @@
|
||||
<div class="col-4">
|
||||
@include('theme.backend.adminlte.r.account.widgets.list')
|
||||
</div>
|
||||
|
||||
<div class="col-8">
|
||||
@include('theme.backend.adminlte.service.widget.movement')
|
||||
@include('theme.backend.adminlte.r.service.widget.movement')
|
||||
|
||||
@include('theme.backend.adminlte.r.invoice.widgets.due')
|
||||
</div>
|
@ -54,9 +54,11 @@
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@section('page-styles')
|
||||
@css(datatables,bootstrap4|rowgroup)
|
||||
@append
|
||||
|
||||
@section('page-scripts')
|
||||
@css(datatables,bootstrap4|rowgroup)
|
||||
@js(datatables,bootstrap4|rowgroup)
|
||||
|
||||
<script type="text/javascript">
|
Loading…
Reference in New Issue
Block a user