bug fixes on activity log and array_key_first alt using reset

This commit is contained in:
Kwesi Banson
2024-02-16 19:46:38 +00:00
parent d4ab479e0c
commit 7b3a29ca53
25 changed files with 579 additions and 160 deletions

View File

@@ -29,42 +29,36 @@
<div class="x_content">
<br>
<div class="row">
<div class="col-md-12">
<h4>Agreement Stage</h4>
<div>
<div class="form-group" >
<div class=" {{ $errors->has('progress_indicators') ? 'has-error' : ''}}">
<label class="" for="payment_mode">Checklist Items</label>
{!! Form::select('progress_indicators[]', $progress_indicators, $current_progress_indicators, ['class' => 'form-control' , 'id' => 'progressIndicators', 'multiple' => 'true']) !!}
{!! $errors->first('progress_indicators', '<p class="help-block">:message</p>') !!}
</div>
</div>
</div>
<h4>Interconnectional (Bilateral)</h4>
<div>
</div>
<h4>Tests Completed</h4>
<div>
</div>
<h4>Rate Card Sharing</h4>
<div>
</div>
<h4>Rates Uploaded</h4>
<div>
</div>
</div>
</div>
<div class="ln_solid"></div>
<div class="form-group">
</div>
<div class="table-responsive">
<table class="table table-striped table-bordered table-condensed" style="width: 100%;">
<thead>
<tr class="headings">
<th class="column-title">Stage</th>
<th class="column-title">Activity</th>
<th class="column-title">Status</th>
</tr>
</thead>
<tbody>
@if ($onboarding_stages->isEmpty())
<tr>
<td class="" colspan="6">No Records found</td>
</tr>
@else
@foreach ($onboarding_stages as $row)
<tr class="even pointer">
<td class="mes-td" >{{ $row->stage_id }}</td>
<td class="mes-td">{{ $row->name }}</td>
<td class="mes-td <?php echo ($row->status == 'COMPLETED') ? 'text-success' : 'text-danger'; ?>" >
{{ $row->status }}
</td>
</tr>
@endforeach
@endif
</tbody>
</table>
</div>
</div>
{{-- end of x_content --}}
</div>
@@ -79,13 +73,7 @@
@section('javascript')
<script type="text/javascript">
$(function(){
$('select').select2();
// $('.typeServices').select2({}).select2('val', PRESELECTED_FRUITS);
$('.typeServices').select2({
tags : true
});
});
</script>
@endsection