2020-02-05 04:47:24 +00:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header bg-light">
|
|
|
|
<h3 class="card-title">Service Information</h3>
|
|
|
|
</div>
|
2020-02-06 09:31:43 +00:00
|
|
|
|
2020-02-05 04:47:24 +00:00
|
|
|
<div class="card-body bg-light">
|
|
|
|
<table class="table table-sm">
|
|
|
|
<tr>
|
|
|
|
<th>Status</th>
|
2020-02-06 09:31:43 +00:00
|
|
|
<td>{!! $o->status_html !!}</td>
|
2020-02-05 04:47:24 +00:00
|
|
|
</tr>
|
2020-02-06 09:31:43 +00:00
|
|
|
@if ($o->active or $o->isPending())
|
2020-02-05 04:47:24 +00:00
|
|
|
<tr>
|
|
|
|
<th>Billed</th>
|
|
|
|
<td>{{ $o->billing_period }}</td>
|
|
|
|
</tr>
|
2020-02-06 09:31:43 +00:00
|
|
|
@if($o->active)
|
|
|
|
<tr>
|
|
|
|
<th>Invoiced To</th>
|
|
|
|
<td>{{ $o->invoice_to->format('Y-m-d') }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>Paid Until</th>
|
|
|
|
<td>{{ $o->paid_to->format('Y-m-d') }}</td>
|
|
|
|
</tr>
|
|
|
|
@endif
|
2020-02-05 04:47:24 +00:00
|
|
|
<tr>
|
2020-02-06 09:31:43 +00:00
|
|
|
<th>Next Invoice</th>
|
|
|
|
<td>{{ $o->invoice_next->format('Y-m-d') }}</td>
|
2020-02-05 04:47:24 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2020-02-06 09:31:43 +00:00
|
|
|
<th>Next Estimated Invoice</th>
|
|
|
|
<td>${{ number_format($o->next_invoice_items()->sum('total'),2) }} <sup>*</sup></td>
|
2020-02-05 04:47:24 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2020-02-06 09:31:43 +00:00
|
|
|
<th>Payment Method</th>
|
|
|
|
<td>@if ($o->autopay)Direct Debit @else Invoice @endif</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
@else
|
|
|
|
<tr>
|
|
|
|
<th>Cancelled</th>
|
|
|
|
<td>{!! $o->date_end ? $o->date_end->format('Y-m-d') : $o->paid_to->format('Y-m-d').'<sup>*</sup>' !!}</td>
|
2020-02-05 04:47:24 +00:00
|
|
|
</tr>
|
|
|
|
@endif
|
|
|
|
</table>
|
|
|
|
</div>
|
2020-02-06 09:31:43 +00:00
|
|
|
|
|
|
|
@if($o->active OR $o->isPending())
|
|
|
|
<div class="card-footer sm">
|
|
|
|
<strong><sup>*</sup>NOTE:</strong> Estimated Invoice does not include any setup, connection nor all current billing cycle usage charges.
|
|
|
|
</div>
|
|
|
|
@endif
|
2020-02-05 04:47:24 +00:00
|
|
|
</div>
|