Cosmetic code changes, no functional changes

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
<!-- $list = Collection[Invoice::class] -->
<!-- $list=Collection[Invoice::class] -->
<!-- Show outstanding invoices -->
<table class="table table-bordered w-100" id="invoices_due_{{$type}}">
<thead>
@@ -27,7 +27,6 @@
@section('page-styles')
@css(datatables,bootstrap4|rowgroup)
@append
@section('page-scripts')
@js(datatables,bootstrap4|rowgroup)

View File

@@ -1,6 +1,6 @@
<!-- @todo These needs to be optimised, and change for $o = Account::class -->
<!-- Show next items for an invoice -->
@if (($x=$o->next_invoice_items($future))->count())
@if(($x=$o->next_invoice_items($future))->count())
<div class="card">
<div class="card-body">
<table class="table">