Move some service\type::class methods into __get(), no functional changes

This commit is contained in:
2025-05-22 17:57:39 +10:00
parent 1e496a2863
commit 72b11172c8
11 changed files with 50 additions and 94 deletions

View File

@@ -39,7 +39,7 @@
<tbody>
@foreach ($o as $oo)
<tr @if ($oo->hasExpired()) class="table-danger" @endif>
<tr @if ($oo->has_expired) class="table-danger" @endif>
<td><a href="{{ url('u/service',[$oo->service_id]) }}">{{ $oo->service->sid }}</td>
<td>{{ $oo->service->account->name }}</td>
<td>{{ $oo->service->product->name }}</td>