- 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.
36 lines
916 B
JavaScript
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();
|
|
}
|
|
};
|