Optimisations for resellers home page

This commit is contained in:
Deon George 2024-07-05 17:23:06 +10:00
parent e7ac329d24
commit b6b036e06d
4 changed files with 12 additions and 9 deletions

View File

@ -96,7 +96,7 @@
@if ($o == $user) @if ($o == $user)
@canany('reseller','wholesaler') @canany('reseller','wholesaler')
<div class="tab-pane" id="tab-reseller" role="tabpanel"> <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> </div>
@endcanany @endcanany
@endif @endif

View File

@ -37,8 +37,11 @@
</div> </div>
</div> </div>
@section('page-scripts') @section('page-styles')
@css(datatables,bootstrap4) @css(datatables,bootstrap4)
@append
@section('page-scripts')
@js(datatables,bootstrap4) @js(datatables,bootstrap4)
<script type="text/javascript"> <script type="text/javascript">
@ -50,10 +53,6 @@
order: [1,'asc'], order: [1,'asc'],
pageLength: 10 pageLength: 10
}); });
$('#accounts tbody').on('click','tr', function () {
$(this).toggleClass('selected');
});
}); });
</script> </script>
@append @append

View File

@ -2,8 +2,9 @@
<div class="col-4"> <div class="col-4">
@include('theme.backend.adminlte.r.account.widgets.list') @include('theme.backend.adminlte.r.account.widgets.list')
</div> </div>
<div class="col-8"> <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') @include('theme.backend.adminlte.r.invoice.widgets.due')
</div> </div>

View File

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