Optimise Invoice
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
<!-- $o = Account::class -->
|
||||
@php
|
||||
$o->load(['services_active.invoiced_service_items_active_recent']);
|
||||
@endphp
|
||||
|
||||
<!-- Show active services -->
|
||||
<div class="card card-light">
|
||||
<div class="card-header">
|
||||
@@ -6,7 +10,7 @@
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
@if (($x=$o->services->where('active',TRUE))->count())
|
||||
@if (($x=$o->services_active)->count())
|
||||
<table class="table table-striped table-hover w-100" id="services_active_{{ $ao->id }}">
|
||||
<thead>
|
||||
<tr>
|
||||
|
Reference in New Issue
Block a user