community-app/app/scripts/controllers/accounting/AccOGMController.js

20 lines
862 B
JavaScript
Raw Normal View History

(function (module) {
mifosX.controllers = _.extend(module, {
2017-01-24 10:03:32 +00:00
AccOGMController: function (scope, resourceFactory, paginatorService,routeParams, location,$uibModal) {
scope.routeTo = function (id) {
location.path('/viewofficeglmapping/' + id);
};
var fetchFunction = function () {
var params = {};
resourceFactory.officeToGLAccountMappingResource.search(params, callback);
};
scope.mappingDatas = paginatorService.paginate();
}
});
2017-01-24 10:03:32 +00:00
mifosX.ng.application.controller('AccOGMController', ['$scope', 'ResourceFactory', 'PaginatorService', '$routeParams','$location','$uibModal', mifosX.controllers.AccOGMController]).run(function ($log) {
$log.info("AccOGMController initialized");
});
}(mifosX.controllers || {}));