2024-07-24 10:17:23 +00:00
|
|
|
<!-- $o=Service::class -->
|
2020-02-05 04:47:24 +00:00
|
|
|
<div class="card">
|
2020-04-18 22:33:41 +00:00
|
|
|
@if($o->external_billing)
|
|
|
|
<div class="ribbon-wrapper ribbon-lg">
|
|
|
|
<div class="ribbon bg-danger">
|
|
|
|
EXTERNAL BILLING
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
2024-07-29 13:12:53 +00:00
|
|
|
<div class="card-header bg-light p-2">
|
2020-02-05 04:47:24 +00:00
|
|
|
<h3 class="card-title">Service Information</h3>
|
|
|
|
</div>
|
2020-02-06 09:31:43 +00:00
|
|
|
|
2024-07-29 13:12:53 +00:00
|
|
|
<div class="card-body p-2">
|
2020-02-05 04:47:24 +00:00
|
|
|
<table class="table table-sm">
|
2020-02-06 22:11:02 +00:00
|
|
|
<tr>
|
|
|
|
<th>Account</th>
|
2022-04-22 06:35:01 +00:00
|
|
|
<td><a href="{{url('u/home',$o->account->user_id)}}">{{ $o->account->sid }}</a></td>
|
2020-02-06 22:11:02 +00:00
|
|
|
</tr>
|
2020-02-05 04:47:24 +00:00
|
|
|
<tr>
|
|
|
|
<th>Status</th>
|
2024-07-24 10:17:23 +00:00
|
|
|
<td><x-button.status :status="$o->status" :substatus="$o->order_status"/></td>
|
2020-02-05 04:47:24 +00:00
|
|
|
</tr>
|
2024-07-25 04:44:09 +00:00
|
|
|
@if($o->order_status == 'ORDER-SENT')
|
2020-04-22 13:23:54 +00:00
|
|
|
<tr>
|
|
|
|
<th>Order Reference</th>
|
|
|
|
<td>{{ $o->order_info_reference ?? '' }}</td>
|
|
|
|
</tr>
|
|
|
|
@endif
|
2024-07-29 13:12:53 +00:00
|
|
|
@if($o->start_at && $o->isPending())
|
2020-04-23 07:38:09 +00:00
|
|
|
<tr>
|
|
|
|
<th>Pending Connection</th>
|
2022-04-22 04:41:18 +00:00
|
|
|
<td>{{ $o->start_at->format('Y-m-d') }}</td>
|
2020-04-23 07:38:09 +00:00
|
|
|
</tr>
|
|
|
|
@endif
|
2024-07-25 04:44:09 +00:00
|
|
|
@if(($o->active || $o->isPending()) && (! $o->external_billing))
|
2020-02-05 04:47:24 +00:00
|
|
|
<tr>
|
|
|
|
<th>Billed</th>
|
2022-10-18 03:17:50 +00:00
|
|
|
<td>{{ $o->billing_interval_string }}</td>
|
2020-02-05 04:47:24 +00:00
|
|
|
</tr>
|
2023-05-09 01:09:00 +00:00
|
|
|
<tr>
|
|
|
|
<th>Amount</th>
|
2024-07-07 05:02:02 +00:00
|
|
|
@if($o->isChargeOverridden())
|
2024-07-25 04:44:09 +00:00
|
|
|
<td>@if($o->billing_charge < $o->charge_orig)<del>${{ number_format($o->charge_orig,2) }}</del> @endif${{ number_format($o->billing_charge,2) }}</td>
|
2023-05-09 01:09:00 +00:00
|
|
|
@else
|
|
|
|
<td>${{ number_format($o->billing_charge,2) }}</td>
|
|
|
|
@endif
|
|
|
|
</tr>
|
2024-07-29 13:12:53 +00:00
|
|
|
@if($o->isActive() && $o->invoiced_to)
|
2020-02-06 09:31:43 +00:00
|
|
|
<tr>
|
|
|
|
<th>Invoiced To</th>
|
2024-07-29 13:12:53 +00:00
|
|
|
<td>{{ $o->invoiced_to->format('Y-m-d') }}</td>
|
2020-02-06 09:31:43 +00:00
|
|
|
</tr>
|
2020-04-01 12:35:06 +00:00
|
|
|
@if($o->paid_to)
|
|
|
|
<tr>
|
|
|
|
<th>Paid Until</th>
|
|
|
|
<td>{{ $o->paid_to->format('Y-m-d') }}</td>
|
|
|
|
</tr>
|
|
|
|
@endif
|
2020-02-06 09:31:43 +00:00
|
|
|
@endif
|
2024-07-29 13:12:53 +00:00
|
|
|
@if($o->status !== 'cancel-pending')
|
2020-02-05 04:47:24 +00:00
|
|
|
<tr>
|
2020-02-06 09:31:43 +00:00
|
|
|
<th>Next Invoice</th>
|
2024-07-25 04:44:09 +00:00
|
|
|
<td>@if($o->suspend_billing)<del>@endif{{ $o->invoice_next->format('Y-m-d') }}@if($o->suspend_billing)</del> <strong>SUSPENDED</strong>@endif</td>
|
2020-02-05 04:47:24 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2020-02-06 09:31:43 +00:00
|
|
|
<th>Next Estimated Invoice</th>
|
2024-07-29 13:12:53 +00:00
|
|
|
<td>${{ number_format($o->next_invoice_items()->sum('total'),2) }} <sup>*</sup></td>
|
2020-02-05 04:47:24 +00:00
|
|
|
</tr>
|
2024-07-29 13:12:53 +00:00
|
|
|
@endif
|
2020-02-05 04:47:24 +00:00
|
|
|
<tr>
|
2020-02-06 09:31:43 +00:00
|
|
|
<th>Payment Method</th>
|
2024-07-25 04:44:09 +00:00
|
|
|
<td>@if($o->billing)Direct Debit @else Invoice @endif</td>
|
2020-02-06 09:31:43 +00:00
|
|
|
</tr>
|
|
|
|
|
2020-04-18 22:33:41 +00:00
|
|
|
@elseif($o->wasCancelled())
|
2020-02-06 09:31:43 +00:00
|
|
|
<tr>
|
|
|
|
<th>Cancelled</th>
|
2024-07-24 10:17:23 +00:00
|
|
|
<td>{{ ($o->stop_at ?: $o->paid_to)?->format('Y-m-d') }}</td>
|
2020-02-05 04:47:24 +00:00
|
|
|
</tr>
|
|
|
|
@endif
|
|
|
|
</table>
|
|
|
|
</div>
|
2020-02-06 09:31:43 +00:00
|
|
|
|
2024-07-24 10:17:23 +00:00
|
|
|
@if($o->active || $o->isPending())
|
2020-02-06 09:31:43 +00:00
|
|
|
<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
|
2024-07-24 10:17:23 +00:00
|
|
|
</div>
|