update tukar kemaskini by cawangan shj

This commit is contained in:
Nur Izzati Zulkifli
2024-01-11 16:50:11 +08:00
parent e37c7430a7
commit d3cbccd836
6 changed files with 73 additions and 14 deletions
@@ -144,13 +144,16 @@
<td style="white-space: nowrap;"> @if($item['namacaw'][$index]['status'] == 2)
<img src="{{ asset('img/success.png') }}" style="width:20px"></img>
@endif{{$item['namacaw'][$index]['details_caw']}}</td>
<td align="center" style="white-space: nowrap;">{{$item['totalsag']}}</td>
<td style="white-space: nowrap;">{{number_format($item['totalbakipjm'],2)}}</td>
<td style="white-space: nowrap;"><a href="{{ route('arcc.bycawnotisperingatan', [ 'kodcaw' => $item['namacaw'][$index]['kodcaw'], 'notisid' => $notisid ]) }}" class="btn btn-info text-white">Lihat</a>
<td align="center" style="white-space: nowrap;">@if($item['totalsag'] == 0)<a style="color: #e74c3c; nowrap">{{$item['totalsag']}}</a>@else {{$item['totalsag']}}@endif/{{$item['totalsagall']}}</td>
<td style="white-space: nowrap;">@if($item['totalsag'] == 0)<a style="color: #e74c3c; nowrap">{{number_format($item['totalbakipjm'],2)}}</a>@else {{number_format($item['totalbakipjm'],2)}}@endif</td>
<td style="white-space: nowrap;">
{{-- <a href="{{ route('arcc.bycawnotisperingatan', [ 'kodcaw' => $item['namacaw'][$index]['kodcaw'], 'notisid' => $notisid ]) }}" class="btn btn-info text-white">Lihat</a> --}}
<a href="{{ route('arcc.kemaskininotisperingatanbycaw', [ 'kodcaw' => $item['namacaw'][$index]['kodcaw'],'notisid' => $notisid] ) }}" class="btn btn-warning text-white">Kemaskini</a>
</td>
</tr>
@endforeach
</table>
<div style="color: #e74c3c" align=left> <i>*jika bilangan berkurang bermaksud telah masuk ke Notis Peringatan Kedua</i></div>
</form>
</div>