added sender ID to the clients Tab in Show view plus bug fixes
This commit is contained in:
43
resources/views/client/partials/sender-ids.blade.php
Normal file
43
resources/views/client/partials/sender-ids.blade.php
Normal file
@@ -0,0 +1,43 @@
|
||||
<div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-condensed table-bordered">
|
||||
<thead>
|
||||
<tr class="headings">
|
||||
<th class="column-title">Sender ID</th>
|
||||
<th class="column-title">Network</th>
|
||||
<th class="column-title">Country</th>
|
||||
<th class="column-title">Status</th>
|
||||
<th class="column-title">Created By</th>
|
||||
<th class="column-title">Remarks</th>
|
||||
<th class="column-title no-link last"><span class="nobr">Action</span>
|
||||
</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@if ($client_sender_ids->isEmpty())
|
||||
<tr>
|
||||
<td class="" colspan="12">No Records found</td>
|
||||
</tr>
|
||||
@else
|
||||
@foreach ($client_sender_ids as $row)
|
||||
<tr class="even pointer">
|
||||
<td class="mes-td col-md-2">{{ $row->senderid }} </td>
|
||||
<td class="col-md-2">{{ $row->network_info->name }}</td>
|
||||
<td class="col-md-2">{{ $row->network_info->country }}</td>
|
||||
<td class="col-md-1"><span class="label label-<?php echo ($row->status == 'Approved') ? 'success' : 'warning'; ?>"> {{ $row->status }}</span></td>
|
||||
<td class="col-md-2">{{ $row->created_by_info->name }}</td>
|
||||
<td class="mes-td col-md-2" style="width: 100px;">{{ $row->remarks }}</td>
|
||||
<td class="last col-md-1" style="width: 100px;">
|
||||
<span>
|
||||
<input type="hidden" name="senderId_entry_id" value="{{ $row->id }}" class="senderIdEntryRowId">
|
||||
<a href="" class="btn btn-xs btn-primary senderIdEditBtn"><i class="fa fa-edit"></i></a>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@endif
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user