Show cancel date on service information widget
This commit is contained in:
@@ -22,6 +22,12 @@
|
||||
<th>Status</th>
|
||||
<td><x-button.status :status="$o->status" :substatus="$o->order_status"/></td>
|
||||
</tr>
|
||||
@if($o->isPendingCancel())
|
||||
<tr>
|
||||
<th>Cancel Date</th>
|
||||
<td>{{ $o->stop_at->format('Y-m-d') }}</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if($o->order_status == 'ORDER-SENT')
|
||||
<tr>
|
||||
<th>Order Reference</th>
|
||||
@@ -59,18 +65,19 @@
|
||||
</tr>
|
||||
@endif
|
||||
@endif
|
||||
@if($o->status !== 'cancel-pending')
|
||||
|
||||
<tr>
|
||||
<th>Next Invoice</th>
|
||||
<td>@if($o->suspend_billing)<del>@endif{{ $o->invoice_next?->format('Y-m-d') }}@if($o->suspend_billing)</del> <strong>SUSPENDED</strong>@endif</td>
|
||||
</tr>
|
||||
@if($o->invoice_next)
|
||||
|
||||
@if($o->invoice_next)
|
||||
<tr>
|
||||
<th>Next Estimated Invoice</th>
|
||||
<td>${{ number_format($o->next_invoice_items()->sum('total'),2) }} <sup>*</sup></td>
|
||||
</tr>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
<tr>
|
||||
<th>Payment Method</th>
|
||||
<td>@if($o->billing)Direct Debit @else Invoice @endif</td>
|
||||
|
Reference in New Issue
Block a user