fix skit2
This commit is contained in:
@@ -3546,8 +3546,9 @@ class KhazanahController extends Controller
|
||||
|
||||
$permohonan = Http::withOptions(['verify' => config('app.api_verify')])->get( config('api.url').'/admin/permohonan/get/'.$auth_user['cawangan'] .'/' . $mohonid)->json();
|
||||
|
||||
$getdescription = Http::withOptions(['verify' => config('app.api_verify')])->get( config('api.url').'/admin/permohonan/description/' . $mohonid)->json();
|
||||
|
||||
return view('khazanah.status', compact('cawangan_info','api_url','permohonan'));
|
||||
return view('khazanah.status', compact('cawangan_info','api_url','permohonan','getdescription'));
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -158,17 +158,17 @@
|
||||
|
||||
<ul id="progressbar" class="text-center flex">
|
||||
|
||||
<li class="{{ ($permohonan[0]) ? 'active' : '' }} step0 col-2"></li>
|
||||
<li class="{{ (sizeof($permohonan[0]['status']) >= 1) ? 'active' : '' }} step0 col-2"></li>
|
||||
|
||||
<li class="{{ ($permohonan[1]) ? 'active' : '' }} step0 col-2"></li>
|
||||
<li class="{{ (sizeof($permohonan[0]['status']) >= 2) ? 'active' : '' }} step0 col-2"></li>
|
||||
|
||||
<li class="{{ ($permohonan[2]) ? 'active' : '' }} step0 col-2"></li>
|
||||
<li class="{{ (sizeof($permohonan[0]['status']) >= 3) ? 'active' : '' }} step0 col-2"></li>
|
||||
|
||||
<li class="{{ ($permohonan[3]) ? 'active' : '' }} step0 col-2"></li>
|
||||
<li class="{{ (sizeof($permohonan[0]['status']) >= 4) ? 'active' : '' }} step0 col-2"></li>
|
||||
|
||||
<li class="{{ ($permohonan[4]) ? 'active' : '' }} step0 col-2"></li>
|
||||
<li class="{{ (sizeof($permohonan[0]['status']) >= 5) ? 'active' : '' }} step0 col-2"></li>
|
||||
|
||||
<li class="{{ ($permohonan[5]) ? 'active' : '' }} step0 col-2"></li>
|
||||
<li class="{{ (sizeof($permohonan[0]['status']) >= 6) ? 'active' : '' }} step0 col-2"></li>
|
||||
|
||||
</ul>
|
||||
|
||||
@@ -241,6 +241,27 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<table class="table table-striped">
|
||||
<thead class="thead-dark">
|
||||
<tr>
|
||||
<th scope="col">#</th>
|
||||
<th scope="col">Tarikh</th>
|
||||
<th scope="col">Masa</th>
|
||||
<th scope="col">Penerangan</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($getdescription as $index=>$desc)
|
||||
<tr>
|
||||
<td>{{ $loop->iteration }}</td>
|
||||
<td>{{ $desc[0]['tarikh'] }}</td>
|
||||
<td>{{ $desc[0]['masa'] }}</td>
|
||||
<td>{{ $desc['description'] }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user