Optimisations for resellers home page
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 39s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s

This commit is contained in:
Deon George 2024-07-05 17:23:06 +10:00
parent 2b49d47652
commit e106adc69e
4 changed files with 11 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -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">