2022-04-19 07:07:39 +00:00
|
|
|
<!-- $o = App\Models\Service\Broadband::class -->
|
2020-02-05 04:47:24 +00:00
|
|
|
<div class="card">
|
|
|
|
@if($o->service->isPending())
|
2020-02-06 09:31:43 +00:00
|
|
|
<div class="ribbon-wrapper ribbon-lg">
|
|
|
|
<div class="ribbon bg-warning">
|
|
|
|
Pending
|
|
|
|
</div>
|
2020-02-05 04:47:24 +00:00
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
<div class="card-header bg-gray-dark">
|
|
|
|
<h3 class="card-title">Broadband Details</h3>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-body bg-gray-dark">
|
|
|
|
<table class="table table-sm">
|
|
|
|
<tr>
|
|
|
|
<th>Address</th>
|
2022-04-22 00:36:41 +00:00
|
|
|
<td>{{ $o->service_address }}</td>
|
2020-02-05 04:47:24 +00:00
|
|
|
</tr>
|
2024-07-24 05:31:57 +00:00
|
|
|
@if($o->pppoe)
|
|
|
|
<tr>
|
|
|
|
<th>Service Number</th>
|
|
|
|
<td>{{ $o->service_number }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Service Username</th>
|
|
|
|
<td>{{ $o->service_username }}</td>
|
|
|
|
</tr>
|
|
|
|
@else
|
|
|
|
<tr>
|
|
|
|
<th>Service Type</th>
|
|
|
|
<td>Layer 2</td>
|
|
|
|
</tr>
|
|
|
|
@endif
|
2020-02-05 04:47:24 +00:00
|
|
|
<tr>
|
|
|
|
<th>Service Password</th>
|
|
|
|
<td>{{ $o->service_password }}</td>
|
|
|
|
</tr>
|
2022-04-19 07:07:39 +00:00
|
|
|
@if($o->connect_at)
|
2020-02-05 04:47:24 +00:00
|
|
|
<tr>
|
|
|
|
<th>Connected</th>
|
2022-04-19 07:07:39 +00:00
|
|
|
<td>{{ $o->connect_at->format('Y-m-d') }}</td>
|
2020-02-05 04:47:24 +00:00
|
|
|
</tr>
|
|
|
|
@endif
|
2022-04-19 07:07:39 +00:00
|
|
|
@if($x=$o->technology)
|
|
|
|
<tr>
|
|
|
|
<th>Technology</th>
|
|
|
|
<td>{{ $x }}</td>
|
|
|
|
</tr>
|
2020-02-18 11:35:20 +00:00
|
|
|
@endif
|
2020-02-05 04:47:24 +00:00
|
|
|
<tr>
|
|
|
|
<th>Speed</th>
|
2022-06-30 13:51:20 +00:00
|
|
|
<td>{{ $o->supplied()->speed }} Mbps</td>
|
2020-02-05 04:47:24 +00:00
|
|
|
</tr>
|
2020-02-18 11:35:20 +00:00
|
|
|
<!-- @todo -->
|
2020-02-05 04:47:24 +00:00
|
|
|
<tr>
|
|
|
|
<th>Traffic</th>
|
2023-05-06 03:53:14 +00:00
|
|
|
<td>{{ $o->service->offering->allowance_string() }} GB</td>
|
2020-02-05 04:47:24 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2022-04-19 07:07:39 +00:00
|
|
|
<th>IP4 Address</th>
|
2020-02-05 04:47:24 +00:00
|
|
|
<td>{{ $o->ipaddress ?: 'Dynamic' }}</td>
|
|
|
|
</tr>
|
2022-04-19 07:07:39 +00:00
|
|
|
<tr>
|
|
|
|
<th>IP6 Address</th>
|
|
|
|
<td>{{ $o->ip6address ?: '-' }}</td>
|
|
|
|
</tr>
|
2020-02-05 04:47:24 +00:00
|
|
|
@if ($o->inContract())
|
|
|
|
<tr>
|
|
|
|
<th>Contract</th>
|
2022-04-19 07:07:39 +00:00
|
|
|
<td>{{ $o->contract_term }} months</td>
|
2020-02-05 04:47:24 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Contract End</th>
|
2022-04-19 07:07:39 +00:00
|
|
|
<td>{{ $o->service_expire->format('Y-m-d') }} <small>({{ $o->service_expire->diffForHumans() }})</small></td>
|
2020-02-05 04:47:24 +00:00
|
|
|
</tr>
|
|
|
|
@endif
|
|
|
|
<tr>
|
|
|
|
<th>Cancel Notice</th>
|
2022-04-19 07:07:39 +00:00
|
|
|
<td>1 month @if($o->inContract())<small>(after {{ $o->service_expire->subMonth()->format('Y-m-d') }})</small>@endif</td>
|
2020-02-05 04:47:24 +00:00
|
|
|
</tr>
|
2023-05-06 03:53:14 +00:00
|
|
|
|
|
|
|
@if(($x=$o->service->changes()->where('service__change.active',TRUE)->where('complete',FALSE)->get()->pop()))
|
|
|
|
<tr>
|
|
|
|
<th>Pending Plan Change</th>
|
|
|
|
<td>{{ $x->name }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Pending Submitted</th>
|
|
|
|
<td>{{ $x->pivot->ordered_at }}</td>
|
|
|
|
</tr>
|
|
|
|
@if($x->pivot->effective_at)
|
|
|
|
<tr>
|
|
|
|
<th>Pending Active</th>
|
|
|
|
<td>{{ $x->pivot->effective_at }}</td>
|
|
|
|
</tr>
|
|
|
|
@endif
|
|
|
|
@endif
|
2020-02-05 04:47:24 +00:00
|
|
|
</table>
|
|
|
|
</div>
|
2022-04-19 07:07:39 +00:00
|
|
|
</div>
|