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
+4 -4
View File
@@ -14,7 +14,7 @@ var PPOBOpeJS = {
PHP: '',
KODE: '',
index: function(){
index() {
this.data_query('detail');
$('#Cari_Ope').keydown((e) => {
var key = e.keyCode || e.which || 0;
@@ -28,7 +28,7 @@ var PPOBOpeJS = {
FoniaJS.setFocus('#Cari_Ope');
},
detail_show: function(mode, ID){
detail_show(mode, ID) {
new Request({
url: this.PHP + '/form_operator',
sendParam: ['mode_detail='+mode,'OpeID='+ID],
@@ -38,11 +38,11 @@ var PPOBOpeJS = {
}).send();
},
detail_ubah: function(acell){
detail_ubah(acell) {
this.detail_show('update', acell[0]);
},
data_query: function(tipe, mode){
data_query(tipe, mode) {
if (tipe=="detail"){
new Request_JSF({
url: this.PHP + '/table_detail',