community-app/app/scripts/controllers/accounting/AccOGMController.js
Nazeer Hussain Shaik f45ef35503 new skin
2017-01-24 15:33:32 +05:30

20 lines
862 B
JavaScript
Executable File

(function (module) {
mifosX.controllers = _.extend(module, {
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();
}
});
mifosX.ng.application.controller('AccOGMController', ['$scope', 'ResourceFactory', 'PaginatorService', '$routeParams','$location','$uibModal', mifosX.controllers.AccOGMController]).run(function ($log) {
$log.info("AccOGMController initialized");
});
}(mifosX.controllers || {}));