Moved ShortCodes to a new controller, added Tabulator, bug fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped ">
|
||||
<table class="table table-striped table-condensed table-bordered jambo_table">
|
||||
<thead>
|
||||
<tr class="headings">
|
||||
{{-- <th>#</th> --}}
|
||||
@@ -14,7 +14,7 @@
|
||||
<th class="column-title">Renewal Date</th>
|
||||
<th class="column-title no-link last"><span class="nobr">Action</span>
|
||||
</th>
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -26,15 +26,23 @@
|
||||
@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">{{ $row->shortcode }}</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">{{ $row->status }}</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)
|
||||
{{ "No found"}}
|
||||
{{ "N/A"}}
|
||||
@else
|
||||
{{ date('d-m-Y', strtotime($row->expiry_date)) }}
|
||||
@endif
|
||||
@@ -51,4 +59,4 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
</div>
|
||||
|
||||
<div class="title_right">
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="pull-right">
|
||||
@@ -47,11 +47,12 @@
|
||||
<div role="tabpanel" class="tab-pane fade active in" id="tabSmsShortCode" aria-labelledby="smsshortcode-tab">
|
||||
<h4 class="lead"><strong>
|
||||
@if($type == 'voice')
|
||||
{{ ucfirst($type) }} Short Code
|
||||
{{ ucfirst($type) }} Short Code
|
||||
@else
|
||||
{{ strtoupper($type) }} Short Code
|
||||
{{ strtoupper($type) }} Short Code
|
||||
@endif
|
||||
</strong></h4>
|
||||
<?php //dump($codes_data) ?>
|
||||
@include('client.partials.shortcode-index')
|
||||
</div>
|
||||
</div>
|
||||
@@ -66,7 +67,7 @@
|
||||
@section('javascript')
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
|
||||
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user