Fix display of Billing Start Date and other minor items
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 30s
Create Docker Image / Final Docker Image Manifest (push) Successful in 9s

This commit is contained in:
Deon George 2024-07-24 15:31:57 +10:00
parent 1bae121481
commit 40b9bb30e0
3 changed files with 21 additions and 14 deletions

View File

@ -22,6 +22,7 @@
<th>Service Number</th> <th>Service Number</th>
<td>{{ $o->service_number }}</td> <td>{{ $o->service_number }}</td>
</tr> </tr>
@if($o->pppoe)
<tr> <tr>
<th>Service Username</th> <th>Service Username</th>
<td>{{ $o->service_username }}</td> <td>{{ $o->service_username }}</td>
@ -30,6 +31,12 @@
<th>Service Password</th> <th>Service Password</th>
<td>{{ $o->service_password }}</td> <td>{{ $o->service_password }}</td>
</tr> </tr>
@else
<tr>
<th>Service Type</th>
<td>Layer 2</td>
</tr>
@endif
@if($o->connect_at) @if($o->connect_at)
<tr> <tr>
<th>Connected</th> <th>Connected</th>

View File

@ -19,7 +19,7 @@
<div class="col-1"></div> <div class="col-1"></div>
<div class="col-12 col-sm-9 col-md-6 col-xl-5"> <div class="col-12 col-sm-9 col-md-6 col-xl-5">
<x-leenooks::form.date id="invoice_next_at" name="invoice_next_at" icon="fa-calendar" label="Billing Start Date" :value="($o->invoice_next_at ?: $o->connect_at)?->format('Y-m-d')"/> <x-leenooks::form.date id="invoice_next_at" name="invoice_next_at" icon="fa-calendar" label="Billing Start Date" :value="($o->getRawOriginal('invoice_next_at') ?: $o->getRawOriginal('connect_at'))"/>
</div> </div>
<!-- Price --> <!-- Price -->