|
|
|
@ -76,8 +76,8 @@ require(['angular', 'jquery'], function (angular, $) {
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
function boot(user) {
|
|
|
|
|
var paths = ['static/boot/managerMainApp', 'static/menu/managerMenu','static/analysis/org/analysis-org', 'static/analysis/report/analysis-report', 'static/analysis/monitoring/analysis-monitoring', 'static/analysis/bd/analysis-bd','static/analysis/trans-analysis'];
|
|
|
|
|
var moduleNames = ['managerMainApp', 'listMenuApp','analysisTransaction', 'analysisBD', 'analysisOrg', 'analysisMonitoring', 'analysisReport'];
|
|
|
|
|
var paths = ['static/boot/managerMainApp', 'static/menu/managerMenu','static/analysis/org/analysis-org', 'static/analysis/report/analysis-report', 'static/analysis/monitoring/analysis-monitoring', 'static/analysis/bd/analysis-bd','static/analysis/trans-analysis','static/payment/kyc/kyc-manage'];
|
|
|
|
|
var moduleNames = ['managerMainApp', 'listMenuApp','analysisTransaction', 'analysisBD', 'analysisOrg', 'analysisMonitoring', 'analysisReport','kycManageApp'];
|
|
|
|
|
window.currentUser = user;
|
|
|
|
|
angular.forEach(user.modules, function (mod) {
|
|
|
|
|
paths.push(mod.js_path);
|
|
|
|
@ -87,4 +87,4 @@ require(['angular', 'jquery'], function (angular, $) {
|
|
|
|
|
angular.bootstrap(document.body, moduleNames)
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|