Files
cmasa/app/Scripts/system/super.js
T
siaupheng aaaf0a9215 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.
2026-11-01 14:57:54 +07:00

36 lines
916 B
JavaScript

/*******************************************************************
PHP Class : /Controller/System/SuperController
Description : Supervisi Operator
Created By : Siau Pheng ([email protected]).
Created Date : September 11st, 2012.
Last Modified : August 29th, 2026.
(c) 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var SuperJS = {
PHP: '',
KODE: '',
index() {
this.data_query();
if ($('#divSuper').length > 0 && socket.active) socket.emit('super-check');
},
detail_select(acell) {
new Request({
url: this.PHP + '/approve',
sendParam: ['AuthID='+acell[0]],
onSuccess: () => this.data_query()
}).send();
},
data_query() {
new Request_JSF({
url: this.PHP + '/table_detail',
}).send();
}
};