update arcc notis peringatan ejas table

This commit is contained in:
Nur Izzati Zulkifli
2024-01-07 16:53:12 +08:00
parent 17e5230614
commit 9ed1e21595
7 changed files with 42 additions and 11 deletions
@@ -70,7 +70,7 @@
#details th {
padding: 8px;
font-size: 11px;
font-size: 14px;
}
#details tr:nth-child(even) {
@@ -123,7 +123,7 @@
</div>
@endif
<div class="container">
<div class="container-fluid">
<form id="exportpdf" action="{{route('arcc.blastpertama',['kodcaw' => $kodcaw, 'notisid' => $notisid])}}" target="_blank" method="POST">
@csrf
@@ -260,7 +260,7 @@
alert("ADAKAH ANDA PASTI?");
$('#typedonwload').val('whatsapp');
$("#exportpdf").submit();
});
});
}
}
@@ -70,7 +70,7 @@
#details th {
padding: 8px;
font-size: 11px;
font-size: 14px;
}
#details tr:nth-child(even) {
@@ -123,7 +123,7 @@
</div>
@endif
<div class="container">
<div class="container-fluid">
<form id="exportpdf" action="{{route('arcc.blastkedua',['kodcaw' => $kodcaw, 'notisid' => $notisid])}}" target="_blank" method="POST">
{{-- <form id="exportpdf" action="" target="_blank" method="POST"> --}}
@@ -138,10 +138,10 @@
->get($api_url . '/arcc/getfasa', ['kodcaw' => $kodcaw, 'notisid' => $notisid])
->json();
@endphp
<input type='hidden' name="fasa" value="{{$getfasa['fasa']}}">
<input type='hidden' name="fasa" value="{{$getfasa['fasa'] ?? ''}}">
<table class="table table-striped table-hover" id="details">
<table class="table table-striped table-hover" id="details" align="center">
<thead>
<th>Bil</th>
<th>No.Rujukan</th>
@@ -162,6 +162,7 @@
</thead>
{{-- {{dd($bycawnotisperingatankedua)}} --}}
@foreach ($bycawnotisperingatankedua as $index => $item)
<tr>
<td>{{ $loop->iteration }}</td>
@@ -174,7 +174,7 @@
<div class="row">
<div class="btn-group-toggle col-md-12 col-sm-12 mb-4">
<label class="btn btn-lg green">
<a href="{{ route('arcc.rekodnotisperingatan') }}" class="btn btn-dark btn-lg btn-block mb-3">Rekod Notis Peringatan</a>
<a href="{{ route('arcc.rekodnotisperingatan') }}" class="btn btn-dark btn-lg btn-block mb-3">Rekod Notis Peringatan Pertama</a>
</label>
<label class="btn btn-lg radio-green">
<a href="{{ route('arcc.notisperingatankedua') }}" class="btn btn-dark btn-lg btn-block mb-3">Jana Notis Peringatan Kedua</a>
@@ -160,7 +160,8 @@
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>
<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>
@@ -160,8 +160,9 @@
@elseif($item['info']['daritempoh'] == '11' )
Fasa 2
@endif</td>
<td style="white-space: nowrap;"><a href="{{ route('arcc.detailnotisperingatankedua', [ '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>
<td style="white-space: nowrap;">
{{-- <a href="{{ route('arcc.detailnotisperingatankedua', [ 'notisid' => $item['info']['id']] ) }}" class="btn btn-info text-white">Lihat</a> --}}
<a href="{{ route('arcc.kemaskininotisperingatankedua', [ 'notisid' => $item['info']['id']] ) }}" class="btn btn-warning text-white">Kemaskini</a></td>
</tr>
@endforeach