Added type column to home view tables
Added type column to home view tables
This commit is contained in:
parent
30f18c9419
commit
dbb4d870aa
|
@ -141,6 +141,7 @@
|
|||
<thead class="table-light">
|
||||
<tr>
|
||||
<th class="text-nowrap">Name</th>
|
||||
<th class="text-nowrap">Type</th>
|
||||
<th class="text-nowrap">Due</th>
|
||||
<th class="text-nowrap">Price</th>
|
||||
<th class="text-nowrap"></th>
|
||||
|
@ -162,6 +163,19 @@
|
|||
{{$due_soon->name}}
|
||||
@endif
|
||||
</td>
|
||||
<td class="text-nowrap">
|
||||
@if($due_soon->service_type === 1)
|
||||
VPS
|
||||
@elseif($due_soon->service_type === 2)
|
||||
SHARED
|
||||
@elseif($due_soon->service_type === 3)
|
||||
RESELLER
|
||||
@elseif($due_soon->service_type === 4)
|
||||
DOMAIN
|
||||
@elseif($due_soon->service_type === 5)
|
||||
MISC
|
||||
@endif
|
||||
</td>
|
||||
<td class="text-nowrap">
|
||||
{{Carbon\Carbon::parse($due_soon->next_due_date)->diffForHumans()}}</td>
|
||||
<td class="text-nowrap">{{$due_soon->price}} {{$due_soon->currency}} {{\App\Process::paymentTermIntToString($due_soon->term)}}</td>
|
||||
|
@ -197,6 +211,7 @@
|
|||
<thead class="table-light">
|
||||
<tr>
|
||||
<th class="text-nowrap">Name</th>
|
||||
<th class="text-nowrap">Type</th>
|
||||
<th class="text-nowrap">Added</th>
|
||||
<th class="text-nowrap">Price</th>
|
||||
<th class="text-nowrap"></th>
|
||||
|
@ -218,6 +233,19 @@
|
|||
{{$new->name}}
|
||||
@endif
|
||||
</td>
|
||||
<td class="text-nowrap">
|
||||
@if($due_soon->service_type === 1)
|
||||
VPS
|
||||
@elseif($due_soon->service_type === 2)
|
||||
SHARED
|
||||
@elseif($due_soon->service_type === 3)
|
||||
RESELLER
|
||||
@elseif($due_soon->service_type === 4)
|
||||
DOMAIN
|
||||
@elseif($due_soon->service_type === 5)
|
||||
MISC
|
||||
@endif
|
||||
</td>
|
||||
<td class="text-nowrap">{{Carbon\Carbon::parse($new->created_at)->diffForHumans()}}</td>
|
||||
<td class="text-nowrap">{{$new->price}} {{$new->currency}} {{\App\Process::paymentTermIntToString($new->term)}}</td>
|
||||
<td class="text-nowrap text-center">
|
||||
|
|
Loading…
Reference in New Issue
Block a user