bug fixes on activity log and array_key_first alt using reset
This commit is contained in:
@@ -10,29 +10,28 @@
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="">
|
||||
<?php if ($showclient->progress_indicators !== null): ?>
|
||||
<?php if ($showclient->onboarding_progress_stage !== null): ?>
|
||||
<ul class="to_do">
|
||||
<?php $current_indicators = json_decode($showclient->progress_indicators, true); ?>
|
||||
@foreach($progress_indicators as $indirow)
|
||||
<?php $current_indicators = json_decode($showclient->onboarding_progress_stage, true); ?>
|
||||
@foreach($current_indicators as $key => $value)
|
||||
<?php
|
||||
$arr_check = in_array($indirow, $current_indicators);
|
||||
$theCheck = ($arr_check == true) ? "fa-check-circle green" : "fa-question red";
|
||||
$theCheck = ($value == "COMPLETED") ? "fa-check-circle green" : "fa-question red";
|
||||
?>
|
||||
<li>
|
||||
<p>
|
||||
<span class="fa {{ $theCheck }}"></span>
|
||||
{{ $indirow }}
|
||||
{{ $key }}
|
||||
</p>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
@foreach($progress_indicators as $indirow)
|
||||
@foreach($current_indicators as $indkey => $indival)
|
||||
<ul class="to_do">
|
||||
<li>
|
||||
<p>
|
||||
<span class="fa fa-question red"></span>
|
||||
{{ $indirow }}
|
||||
{{ $indkey }}
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
45
resources/views/client/partials/shortcode-index.blade.php
Normal file
45
resources/views/client/partials/shortcode-index.blade.php
Normal file
@@ -0,0 +1,45 @@
|
||||
<div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped ">
|
||||
<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 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">{{ $row->shortcode }}</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-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="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>
|
||||
Reference in New Issue
Block a user