mirror of
https://github.com/openMF/community-app.git
synced 2026-02-06 14:11:54 +00:00
28 lines
1.1 KiB
JavaScript
28 lines
1.1 KiB
JavaScript
(function (module) {
|
|
mifosX.controllers = _.extend(module, {
|
|
CreditBureauConfigurationController: function ($scope, resourceFactory, $routeParams, location) {
|
|
|
|
$scope.formdata = {};
|
|
|
|
|
|
resourceFactory.creditBureauTemplate.get(function (data) {
|
|
$scope.creditbureaus = data;
|
|
$scope.creditbureauname = $scope.creditbureaus.creditBureauName;
|
|
|
|
});
|
|
|
|
|
|
$scope.submit = function () {
|
|
location.path('/externalservicesCB/CreditBureau/editconfiguration/'+$scope.creditBureauId);
|
|
};
|
|
$scope.cancel = function () {
|
|
location.path('/externalservicesCB/CreditBureau');
|
|
};
|
|
|
|
}
|
|
});
|
|
mifosX.ng.application.controller('CreditBureauConfigurationController', ['$scope', 'ResourceFactory', '$routeParams', '$location','$route', mifosX.controllers.CreditBureauConfigurationController]).run(function ($log) {
|
|
$log.info("CreditBureauConfigurationController initialized");
|
|
});
|
|
}(mifosX.controllers || {}));
|