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,7 +14,7 @@ var SYSProfileJS = {
PHP: '',
KODE: '',
index: function(){
index() {
$('#butSave').click(() => this.save_profile());
$('#win'+this.KODE).find('#FileGambar').off('change').change(() => {
var fd = new FormData(), files = $('#FileGambar')[0].files[0];
@@ -38,7 +38,7 @@ var SYSProfileJS = {
this.get_picture();
},
save_profile: function(){
save_profile() {
new Request({
url: this.PHP + '/save_profile',
sendParam: ['Nama','Posisi','Email','HP'],
@@ -53,7 +53,7 @@ var SYSProfileJS = {
}).send();
},
get_picture: function(){
get_picture() {
new Request({
url: this.PHP + '/get_picture',
onSuccess: (ajson) => {