kpiplus
Version:
KPI+
1 lines • 332 B
JavaScript
var model=require("../../models/kbm_lcttgt"),controller=require("../../controllers/controller");module.exports=function(o){this.contr=new controller(o,model,"kbmlcttgt",{sort:{stt:1,ma_so:1},unique:["ma_so"]}),this.contr.view=function(o,t,r){t.forEach(function(o){o.phan_loai=o.phan_loai.toString()}),r(null,t)},this.contr.route()};