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
+3 -3
View File
@@ -50,7 +50,7 @@ var PointBarangJS = {
detail_hapus: function(acell){
FoniaJS.showConfirm('Konfirmasi', 'Yakin akan hapus <b>"'+acell[2]+'"</b> ?', () => {
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/table_detail',
sendParam: ['mode_detail=delete','InvPID='+acell[0],'Cari_Barang'],
onSuccess: () => {
@@ -61,7 +61,7 @@ var PointBarangJS = {
},
detail_save: function(){
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/table_detail',
sendParam: ['mode_detail','InvPID','Point_TipeID','Nama_Barang','SatuanID','Nilai_Barang','Nilai_Point','Aktif','Cari_Barang'],
onSuccess: () => {
@@ -73,7 +73,7 @@ var PointBarangJS = {
data_query: function(tipe, mode){
if (tipe=="detail"){
new Request.JSONF({
new Request_JSF({
url: this.PHP + '/table_detail',
sendParam: ['Cari_Barang']
}).send();