Move billing charge service::class methods into __get(), no functional changes

This commit is contained in:
2025-05-21 15:14:34 +10:00
parent 2b06eca080
commit 4b429cbf20
9 changed files with 49 additions and 81 deletions

View File

@@ -47,7 +47,7 @@
<td>{{ $oo->registrar_ns }}</td>
<td>@if ($oo->service->is_billed) {{ $oo->service->invoice_next->format('Y-m-d') }}@else - @endif</td>
<td>@if (! $oo->service->external_billing)${{ number_format($oo->service->next_invoice_items()->sum('total'),2) }}@else - @endif</td>
<td>{{ $oo->service->billing_interval_string }}</td>
<td>{{ $oo->service->billing_interval_name }}</td>
</tr>
@endforeach
</tbody>