Refactor AJAX requests from Request.JSONF to Request_JSF across multiple scripts for consistency and improved functionality.

This commit is contained in:
2026-11-01 13:11:40 +07:00
parent 52897c25c5
commit 7a585ab7c2
58 changed files with 200 additions and 200 deletions
+6 -6
View File
@@ -43,14 +43,14 @@ var PrabayarJS = {
},
proses_delete: function(){
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/table_tx',
sendParam: ['mode_detail=delete','No_TX']
}).send();
},
proses_reproc: function(ft){
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/table_tx',
sendParam: ['mode_detail=reproc','No_TX','FT='+ft]
}).send();
@@ -246,7 +246,7 @@ var PrabayarJS = {
}
}).send();
} else if (tipe=='tabel-tx'){
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/table_tx',
sendParam: ['Cari_PPOB']
}).send();
@@ -274,7 +274,7 @@ var PrabayarJS = {
$('.rowToken').addClass('d-none');
$('.rowPulsa').removeClass('d-none');
}
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/option_operator',
sendParam: ['KateID'],
}).send();
@@ -283,7 +283,7 @@ var PrabayarJS = {
oc_Tujuan: function(){
if ($('#Tujuan').val()=='') return false;
if ($.inArray(parseInt($('#KateID').val()), this.KATE_PREFIX) === -1) return false;
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/option_operator',
sendParam: ['KateID','Tujuan'],
}).send();
@@ -291,7 +291,7 @@ var PrabayarJS = {
oc_OpeID: function(){
if ($('#OpeID').val()==0) return false;
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/option_produk',
sendParam: ['KateID','OpeID'],
}).send();