community-app/app/scripts/controllers/accounting/AccOGMController.js
2014-06-11 13:38:13 -07:00

20 lines
856 B
JavaScript
Executable File

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