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
+1 -1
View File
@@ -44,7 +44,7 @@ var PPOBKateJS = {
data_query: function(tipe, mode){
if (tipe=="detail"){
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/table_detail',
sendParam: ['Cari_Kate']
}).send();
+1 -1
View File
@@ -44,7 +44,7 @@ var PPOBOpeJS = {
data_query: function(tipe, mode){
if (tipe=="detail"){
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/table_detail',
sendParam: ['Cari_Ope']
}).send();
+3 -3
View File
@@ -64,7 +64,7 @@ var PPOBProdukJS = {
},
update_proses: function(){
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/proses_update',
sendParam: ['K_Kate','K_Ope'],
onSuccess: (ajson) => {
@@ -91,7 +91,7 @@ var PPOBProdukJS = {
},
produk_simpan: function(){
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/table_produk',
sendParam: ['mode_detail','ProdukID','OpeID','KateID','Nama_Produk='+encodeURIComponent($('#Nama_Produk').val()),'Kode','Harga_Pokok','Harga_Jual','Status','Cari_Produk'],
onSuccess: (adata) => {
@@ -105,7 +105,7 @@ var PPOBProdukJS = {
data_query: function(tipe, mode){
if (tipe=="tabel-produk"){
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/table_produk',
sendParam: ['Cari_Produk']
}).send();