update sah tangguh lelong pc & operasi

This commit is contained in:
faiqahzaman
2022-05-08 11:46:29 +08:00
parent c5e6030e09
commit b78a75f7ea
4 changed files with 61 additions and 18 deletions
@@ -11,10 +11,10 @@
</div>
@endif
<form id="formtangguhlelong" action="{{route('tangguhlelong.tangguhlelong')}}" method="POST">
<form id="formtangguhlel" action="{{route('tangguhlelong.tangguhlelong')}}" method="POST">
@csrf
<input type="hidden" name="lelong_id" value="{{ $lelong_id }}">
<table class="table table-striped table-xl text-center" id="tangguhlelong" style="width:100%">
<table class="table table-striped table-xl text-center" id="tangguhlel" style="width:100%">
<thead class="bg-primary text-white">
<tr>
<th>No</th>
@@ -48,10 +48,10 @@
</tbody>
</table>
<div class="modal-footer" style="margin-top:2%;">
<a href="{{ route('tangguhlelong.carian', ['lelong_id'=>$ic['user_details'][0]['lelong_id']]) }}" class="btn btn-primary">Kembali</a>
<a href="{{ route('tangguhlelong.carian', ['lelong_id'=>$lelong_id]) }}" class="btn btn-primary">Kembali</a>
<button type="submit" class="btn btn-danger">Tangguh Lelong</button>
</div>
</form>
</div>
</div>
</div>
</div>
@@ -101,7 +101,7 @@
}
var tabletangguhlelong = $('#tangguhlelong').DataTable( {
var tabletangguhlel = $('#tangguhlel').DataTable( {
"columnDefs": [
{
"targets": 0,
@@ -25,12 +25,13 @@
<th>Narhun</th>
<th>Nilai Marhun (RM)</th>
<th>Pembiayaan (RM)</th>
<th>Berat</th>
<th>Berat</th>
<th class="text-center">Action</th>
</tr>
</thead>
<tbody>
@foreach ($pengesahan as $sah)
<tr>
<td>{{$loop->iteration}}</td>
@@ -51,8 +52,8 @@
<div class="modal-footer" style="margin-top:2%;">
<a href="{{ route('pengesahan.senarailelongtangguh') }}" class="btn btn-primary">Kembali</a>
<button type="submit" class="btn btn-warning">Sahkan</button>
</div>
</form>
</div>
</div>
</div>
</div>
@@ -138,7 +139,7 @@
// $("#formtangguhlelong").submit();
// }
// }
]
// ]
});
$('.addsim').tooltip();