Refactor member and product scripts to use concise method definitions

- Updated all function declarations to use ES6 shorthand method syntax in member.js, member_grup.js, point_barang.js, point_skema.js, point_tipe.js, kategori.js, operator.js, produk.js, produk_grup.js, rekpos.js, satuan.js, supplier.js, and varian.js.
This commit is contained in:
2026-11-01 14:57:54 +07:00
parent be2091eddd
commit aaaf0a9215
92 changed files with 749 additions and 749 deletions
+3 -3
View File
@@ -14,12 +14,12 @@ var SuperJS = {
PHP: '',
KODE: '',
index: function(){
index() {
this.data_query();
if ($('#divSuper').length > 0 && socket.active) socket.emit('super-check');
},
detail_select: function(acell){
detail_select(acell) {
new Request({
url: this.PHP + '/approve',
sendParam: ['AuthID='+acell[0]],
@@ -27,7 +27,7 @@ var SuperJS = {
}).send();
},
data_query: function(){
data_query() {
new Request_JSF({
url: this.PHP + '/table_detail',
}).send();