Reimplmement service changes going to the service__change table
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
<!-- @todo -->
|
||||
<tr>
|
||||
<th>Traffic</th>
|
||||
<td>{{ $o->service->offering->allowance_string() }} GB @if(FALSE)(YY GB used month)@endif</td>
|
||||
<td>{{ $o->service->offering->allowance_string() }} GB</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>IP4 Address</th>
|
||||
@@ -73,6 +73,23 @@
|
||||
<th>Cancel Notice</th>
|
||||
<td>1 month @if($o->inContract())<small>(after {{ $o->service_expire->subMonth()->format('Y-m-d') }})</small>@endif</td>
|
||||
</tr>
|
||||
|
||||
@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
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user