Refactor AJAX requests from Request.JSONF to Request_JSF across multiple scripts for consistency and improved functionality.
This commit is contained in:
@@ -36,14 +36,14 @@ var PPOBTXJS = {
|
||||
},
|
||||
|
||||
proses_delete: function(no_tx){
|
||||
new Request.JSONF({
|
||||
new Request_JSF({
|
||||
url: this.PHP + '/table_tx',
|
||||
sendParam: ['mode_detail=delete','No_TX='+no_tx,'Tgl_From','Tgl_To','Cari_TX']
|
||||
}).send();
|
||||
},
|
||||
|
||||
proses_reproc: function(no_tx){
|
||||
new Request.JSONF({
|
||||
new Request_JSF({
|
||||
url: this.PHP + '/table_tx',
|
||||
sendParam: ['mode_detail=reproc','No_TX='+no_tx,'Tgl_From','Tgl_To','Cari_TX']
|
||||
}).send();
|
||||
@@ -87,7 +87,7 @@ var PPOBTXJS = {
|
||||
|
||||
data_query: function(tipe){
|
||||
if (tipe=="tabel-detail"){
|
||||
new Request.JSONF({
|
||||
new Request_JSF({
|
||||
url: this.PHP + '/table_tx',
|
||||
sendParam: ['Tgl_From','Tgl_To','Cari_TX']
|
||||
}).send();
|
||||
|
||||
Reference in New Issue
Block a user