new calculation upah
This commit is contained in:
@@ -272,7 +272,6 @@
|
||||
marhun:marhun_detail['marhun']
|
||||
},
|
||||
success:function(marhun_ajax){
|
||||
console.log(index2);
|
||||
bil_count++;
|
||||
$("#tablemarhun").append("<tr><td>" + bil_count + "</td><td>" + marhun_ajax['descpt'] +"</td><td>" + marhun_detail['berat'] +"</td><td>" + marhun_detail['karat'] +"</td><td>RM " + marhun_detail['n_marhun'].toLocaleString(undefined,{minimumFractionDigits:2}) +"</td><td>"+ marhun_detail['nota'] +"</td></tr>");
|
||||
}
|
||||
@@ -404,7 +403,6 @@
|
||||
"mohon" : mohon
|
||||
},
|
||||
success:function(data){
|
||||
console.log("created");
|
||||
|
||||
},error: function(xhr, status, error) {
|
||||
var err = eval("(" + xhr.responseText + ")");
|
||||
@@ -425,9 +423,7 @@
|
||||
"norujukan" : norujukan
|
||||
},
|
||||
success:function(data){
|
||||
console.log(data);
|
||||
if(data != 0){
|
||||
console.log('berjaya');
|
||||
clearInterval(timerInterval);
|
||||
Swal.fire({
|
||||
icon: 'success',
|
||||
|
||||
@@ -38,7 +38,6 @@
|
||||
|
||||
if(jQuery.isEmptyObject(data))
|
||||
{
|
||||
console.log('empty');
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Amaran!',
|
||||
|
||||
Reference in New Issue
Block a user