Optimisations for resellers home page

This commit is contained in:
Deon George 2024-07-05 17:23:06 +10:00
parent 8e6533fb91
commit ad03cfa677
4 changed files with 12 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

@ -55,8 +55,11 @@
</div>
</div>
@section('page-scripts')
@section('page-styles')
@css(datatables,bootstrap4|rowgroup)
@append
@section('page-scripts')
@js(datatables,bootstrap4|rowgroup)
<script type="text/javascript">