fix skit2
This commit is contained in:
@@ -27,8 +27,8 @@
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<table class="table" id="myTable">
|
||||
<thead>
|
||||
<table class="table table-striped table-hover text-center" id="myTable">
|
||||
<thead class="thead-dark">
|
||||
<tr>
|
||||
<th>Bil</th>
|
||||
<th>Recno</th>
|
||||
@@ -41,6 +41,13 @@
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot class="thead-dark">
|
||||
<th colspan="3" class="text-center">Jumlah</th>
|
||||
<th id="totalnilaimarhuntable"></th>
|
||||
<th></th>
|
||||
<th id="totalberattable"></th>
|
||||
<th colspan="3"></th>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
@@ -368,7 +375,7 @@
|
||||
counter,
|
||||
marhun_detail['recno'],
|
||||
marhun_detail['marhun'],
|
||||
'RM ' + formatter.format(marhun_detail['n_marhun']),
|
||||
formatter.format(marhun_detail['n_marhun']),
|
||||
marhun_detail['karat'],
|
||||
formatter.format(marhun_detail['berat']),
|
||||
marhun_detail['nota'],
|
||||
@@ -379,6 +386,8 @@
|
||||
counter = counter + 1;
|
||||
});
|
||||
});
|
||||
$('#totalberattable').text(formatter.format(total_berat));
|
||||
$('#totalnilaimarhuntable').text(formatter.format(jumlah_nilai_marhun));
|
||||
$('#bilangan_marhun').val(formatter.format(counter-1));
|
||||
$('#jumlah_nilai_marhun').val(formatter.format(jumlah_nilai_marhun));
|
||||
if (count == 1){
|
||||
@@ -466,6 +475,7 @@
|
||||
$.ajax({
|
||||
method:'GET',
|
||||
url: api_url + '/api/jemas',
|
||||
async:false,
|
||||
success:function(data){
|
||||
$.each(data,function(index,jemas){
|
||||
$("#marhun_edit").append(new Option(jemas['descpt'], jemas['marhun']));
|
||||
|
||||
Reference in New Issue
Block a user