fix skit2
This commit is contained in:
@@ -140,9 +140,9 @@
|
||||
<th>No</th>
|
||||
<th>No Rujukan</th>
|
||||
<th>Pembiayaan Asal</th>
|
||||
<th>B. Pembiayaan</th>
|
||||
<th>Baki Pembiayaan</th>
|
||||
<th>Tempoh</th>
|
||||
<th>Keuntungan</th>
|
||||
<th>Keuntungan Semasa</th>
|
||||
<th width="35%">Bayaran</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -320,6 +320,8 @@
|
||||
} else {
|
||||
// $(this).closest('tr').find("input").val();
|
||||
$(this).closest('tr').find("input").attr('readonly', false);
|
||||
$(this).closest('tr').find(".txtbayaran").val(upah);
|
||||
$(this).closest('tr').find(".bayaran").val(upah);
|
||||
calculateall(jenis, taglel);
|
||||
|
||||
}
|
||||
@@ -379,6 +381,18 @@
|
||||
$(this).closest('tr').find('.bayaran').val(upah);
|
||||
calculateall(jenis, taglel);
|
||||
return false;
|
||||
}else if(bayar < parseFloat(upah))
|
||||
{
|
||||
$("#bayarsbmt").prop('disabled', false);
|
||||
Swal.fire(
|
||||
'Amaran!',
|
||||
'Bayaran tidak boleh kurang daripada upah!',
|
||||
'error'
|
||||
)
|
||||
$(this).val(upah);
|
||||
$(this).closest('tr').find('.bayaran').val(upah);
|
||||
calculateall(jenis, taglel);
|
||||
return false;
|
||||
}
|
||||
|
||||
$(this).closest('tr').find('.bayaran').val(this.value);
|
||||
|
||||
@@ -82,6 +82,8 @@
|
||||
@php
|
||||
|
||||
$koskeuntungan = Http::get(config('api.url') . '/api/upahbukantawarruq/' . $bt['kodcaw'] . '/' . $bt['norujukan'])->json();
|
||||
|
||||
dd($koskeuntungan);
|
||||
$searchonline = Http::get(config('api.url') . '/portal/searchsagonline/',['norujukan' => $bt['norujukan']])->json();
|
||||
|
||||
$searchLelong = Http::get(config('api.url').'/api/search/lelong',[
|
||||
@@ -145,10 +147,10 @@
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>No Rujukan</th>
|
||||
<th>Pembiayaan</th>
|
||||
<th>B. Pembiayaan</th>
|
||||
<th>Keuntungan (6bulan)</th>
|
||||
<th>Keuntungan</th>
|
||||
<th>Pembiayaan Asal</th>
|
||||
<th>Baki Pembiayaan</th>
|
||||
{{-- <th>Keuntungan (6bulan)</th> --}}
|
||||
<th>Keuntungan Semasa</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="list">
|
||||
@@ -201,9 +203,9 @@
|
||||
<td>
|
||||
{{ number_format($bt['bakipjm'],2) }}
|
||||
</td>
|
||||
<td>
|
||||
{{-- <td>
|
||||
{{ number_format($bt['bakiupah'],2) }}
|
||||
</td>
|
||||
</td> --}}
|
||||
<td>
|
||||
{{ is_numeric($koskeuntungan) ? number_format($koskeuntungan,2) : $koskeuntungan }}
|
||||
</td>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
</div>
|
||||
<div class="card-body text-center">
|
||||
<h5 class="font-weight-normal">
|
||||
<a>Rekod Pembelian</a>
|
||||
<a>Rekod Pembayaran</a>
|
||||
</h5>
|
||||
<a type="button" href="{{ route('semaksag') }}" class="btn bg-gradient-primary btn-sm mb-0 mt-3">Enter</a>
|
||||
</div>
|
||||
@@ -82,7 +82,7 @@
|
||||
</div>
|
||||
<div class="card-body text-center">
|
||||
<h5 class="font-weight-normal">
|
||||
<a>Analisa</a>
|
||||
<a>Ringkasan Transaksi</a>
|
||||
</h5>
|
||||
<a type="button" href="{{ route('analisa.index') }}" class="btn bg-gradient-primary btn-sm mb-0 mt-3">Enter</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user