tambah function notis peringatan kedua arcc dan tambah baik pertama

This commit is contained in:
Nur Izzati Zulkifli
2024-01-04 15:50:48 +08:00
parent f7472c4476
commit db7f56eae3
14 changed files with 2202 additions and 33 deletions
@@ -99,8 +99,8 @@
<nav aria-label="breadcrumb">
<ol class="breadcrumb pb-3">
<li class="breadcrumb-item"><a href="{{ route('home') }}">Home</a></li>
<li class="breadcrumb-item"><a href="{{ route('arcc.notisperingatan') }}">Notis Peringatan</a></li>
<li class="breadcrumb-item active" aria-current="page">Rekod Notis Peringatan</li>
<li class="breadcrumb-item"><a href="{{ route('arcc.notisperingatanpertama') }}">Notis Peringatan Pertama</a></li>
<li class="breadcrumb-item active" aria-current="page">Rekod Notis Peringatan Pertama</li>
</ol>
</nav>
@@ -132,8 +132,7 @@
<th>Bil</th>
<th>Tarikh Notis</th>
<th>Cawangan</th>
<th>Dari Tempoh</th>
<th>Hingga Tempoh</th>
<th>Fasa</th>
<th>Maklumat Lanjut</th>
</thead>
@@ -155,9 +154,15 @@
{{ $item2['details_caw']}}<br>
@endforeach
@endforeach</td>
<td style="white-space: nowrap;">{{ $item['info']['daritempoh'] ?? '-' }}</td>
<td style="white-space: nowrap;">{{ $item['info']['hinggatempoh'] ?? '-' }}</td>
<td style="white-space: nowrap;"><a href="{{ route('arcc.detailnotisperingatan', [ 'notisid' => $item['info']['id']] ) }}" class="btn btn-info text-white">Lihat</a></td>
<td style="white-space: nowrap;">@if($item['info']['daritempoh'] == '5' )
Fasa 1
@elseif($item['info']['daritempoh'] == '11' )
Fasa 2
@endif</td>
{{-- <td style="white-space: nowrap;">{{ $item['info']['hinggatempoh'] ?? '-' }}</td> --}}
<td style="white-space: nowrap;"><a href="{{ route('arcc.detailnotisperingatan', [ 'notisid' => $item['info']['id']] ) }}" class="btn btn-info text-white">Lihat</a>
<a href="{{ route('arcc.kemaskininotisperingatan', [ 'notisid' => $item['info']['id']] ) }}" class="btn btn-warning text-white">Kemaskini</a></td>
</tr>
@endforeach
</table>