63 lines
2.2 KiB
PHP
63 lines
2.2 KiB
PHP
<div>
|
|
<div class="table-responsive">
|
|
<table class="table table-striped table-condensed table-bordered jambo_table">
|
|
<thead>
|
|
<tr class="headings">
|
|
{{-- <th>#</th> --}}
|
|
<th class="column-title">Name</th>
|
|
<th class="column-title">Code</th>
|
|
<th class="column-title">Network</th>
|
|
<th class="column-title">Toll Free</th>
|
|
<th class="column-title">Status</th>
|
|
<th class="column-title">Remarks</th>
|
|
<th class="column-title">Launch Date</th>
|
|
<th class="column-title">Renewal Date</th>
|
|
<th class="column-title no-link last"><span class="nobr">Action</span>
|
|
</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@if ($codes_data->isEmpty())
|
|
<tr>
|
|
<td class="" colspan="12">No Records found</td>
|
|
</tr>
|
|
@else
|
|
@foreach ($codes_data as $row)
|
|
<tr class="even pointer">
|
|
<td class="mes-td col-md-2">{{ $row->name }}</td>
|
|
<td class="mes-td col-md-1 text-danger"><b>{{ $row->shortcode }}</b></td>
|
|
<td class="mes-td col-md-2">{{ $row->network }}</td>
|
|
<td class="mes-td col-md-1">{{ strtoupper($row->toll_free) }}</td>
|
|
<td class="mes-td col-md-1">
|
|
<!-- style='color:#3FB449; font-weight:bold;'
|
|
dump($row->status)
|
|
-->
|
|
<span class="label label-<?php echo ($row->status == 'LIVE') ? 'success' : 'warning' ?> ">
|
|
<?php //dump($row->status) ?>
|
|
{{ $row->status }}
|
|
</span>
|
|
</td>
|
|
<td class="mes-td col-md-2">{{ $row->remarks }}</td>
|
|
<td class="mes-td col-md-1" style="width: 100px;">{{ date('d-m-Y', strtotime($row->launch_date)) }}</td>
|
|
<td class="mes-td col-md-1" style="width: 100px;">
|
|
@if($row->expiry_date == false)
|
|
{{ "N/A"}}
|
|
@else
|
|
{{ date('d-m-Y', strtotime($row->expiry_date)) }}
|
|
@endif
|
|
</td>
|
|
|
|
<td class="last col-md-1" style="width: 100px;">
|
|
<span>
|
|
<a href="" class="btn btn-xs btn-primary"><i class="fa fa-edit"></i></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
@endif
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|