Cosmetic code changes, no functional changes

This commit is contained in:
Deon George 2024-07-25 14:44:09 +10:00
parent 9277d42196
commit 756f550b43
16 changed files with 40 additions and 48 deletions

View File

@ -43,7 +43,6 @@
@section('page-styles') @section('page-styles')
@css(datatables,bootstrap4) @css(datatables,bootstrap4)
@append @append
@section('page-scripts') @section('page-scripts')
@js(datatables,bootstrap4) @js(datatables,bootstrap4)

View File

@ -40,7 +40,6 @@
@section('page-styles') @section('page-styles')
@css(datatables,bootstrap4|rowgroup) @css(datatables,bootstrap4|rowgroup)
@append @append
@section('page-scripts') @section('page-scripts')
@js(datatables,bootstrap4|rowgroup) @js(datatables,bootstrap4|rowgroup)

View File

@ -50,7 +50,6 @@
@section('page-styles') @section('page-styles')
@css(datatables,bootstrap4|rowgroup) @css(datatables,bootstrap4|rowgroup)
@append @append
@section('page-scripts') @section('page-scripts')
@js(datatables,bootstrap4|rowgroup) @js(datatables,bootstrap4|rowgroup)

View File

@ -1,7 +1,8 @@
@php <!-- $o=User::class -->
use App\Models\{Account,Service}; @php($acts=$o->accounts_all->pluck('id'))
$acts = $o->accounts_all->pluck('id');
@endphp @use(App\Models\Account)
@use(App\Models\Service)
@if($user->isReseller() && ($o->accounts->count() <= 2) && ($x=$o->accounts->pluck('providers')->flatten())->count()) @if($user->isReseller() && ($o->accounts->count() <= 2) && ($x=$o->accounts->pluck('providers')->flatten())->count())
<div class="col-12 col-sm-4 col-md-2"> <div class="col-12 col-sm-4 col-md-2">

View File

@ -57,8 +57,10 @@
</div> </div>
@endsection @endsection
@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">

View File

@ -1,8 +1,7 @@
@php
use App\Models\{Checkout,Service};
@endphp
<!-- $o=Invoice::class --> <!-- $o=Invoice::class -->
@use(App\Models\Checkout)
@use(App\Models\Service)
@extends('adminlte::layouts.app') @extends('adminlte::layouts.app')
@section('htmlheader_title') @section('htmlheader_title')

View File

@ -32,7 +32,6 @@
@section('page-styles') @section('page-styles')
@css(datatables,bootstrap4|rowgroup) @css(datatables,bootstrap4|rowgroup)
@append @append
@section('page-scripts') @section('page-scripts')
@js(datatables,bootstrap4|rowgroup) @js(datatables,bootstrap4|rowgroup)

View File

@ -27,7 +27,6 @@
@section('page-styles') @section('page-styles')
@css(datatables,bootstrap4|rowgroup) @css(datatables,bootstrap4|rowgroup)
@append @append
@section('page-scripts') @section('page-scripts')
@js(datatables,bootstrap4|rowgroup) @js(datatables,bootstrap4|rowgroup)

View File

@ -1,7 +1,4 @@
@php @use(App\Models\Service)
use App\Models\Service;
@endphp
<!-- Show client movements --> <!-- Show client movements -->
<div class="card card-dark"> <div class="card card-dark">
<div class="card-header"> <div class="card-header">
@ -62,7 +59,6 @@ use App\Models\Service;
@section('page-styles') @section('page-styles')
@css(datatables,bootstrap4|rowgroup) @css(datatables,bootstrap4|rowgroup)
@append @append
@section('page-scripts') @section('page-scripts')
@js(datatables,bootstrap4|rowgroup) @js(datatables,bootstrap4|rowgroup)

View File

@ -28,7 +28,6 @@
@section('page-styles') @section('page-styles')
@css(datatables,bootstrap4) @css(datatables,bootstrap4)
@append @append
@section('page-scripts') @section('page-scripts')
@js(datatables,bootstrap4) @js(datatables,bootstrap4)