diff --git a/app/global-translations/locale-en.json b/app/global-translations/locale-en.json index 300e7ac4..d20c8b03 100644 --- a/app/global-translations/locale-en.json +++ b/app/global-translations/locale-en.json @@ -340,6 +340,7 @@ "label.anchor.home": "Home", "label.anchor.all": "All", "label.anchor.loans": "Loans", + "label.anchor.savings": "Savings", "label.anchor.funds": "Funds", "label.anchor.admin": "Admin", "label.anchor.reports": "Reports", diff --git a/app/index.html b/app/index.html index 00d492a2..8e2c033c 100644 --- a/app/index.html +++ b/app/index.html @@ -45,7 +45,7 @@

{{ 'label.heading.mifosx' | translate }}

{{ 'label.heading.version' | translate }}
{{ 'label.heading.uptodate' | translate }}
- + @@ -163,6 +163,7 @@
  • {{ 'label.anchor.all' | translate }}
  • {{ 'label.anchor.clients' | translate }}
  • {{ 'label.anchor.loans' | translate }}
  • +
  • {{ 'label.anchor.savings' | translate }}
  • {{ 'label.anchor.funds' | translate }}
  • {{ 'label.anchor.accounting' | translate }}
  • {{ 'label.anchor.xbrl' | translate }}
  • diff --git a/app/scripts/controllers/main/MainController.js b/app/scripts/controllers/main/MainController.js index 459104f4..08bc3418 100644 --- a/app/scripts/controllers/main/MainController.js +++ b/app/scripts/controllers/main/MainController.js @@ -123,7 +123,7 @@ } } else if (route == 'rep') { - var temp2 = ['/reports/all', '/reports/clients', '/reports/loans', '/reports/funds', '/reports/accounting']; + var temp2 = ['/reports/all', '/reports/clients', '/reports/loans', '/reports/funds', '/reports/accounting', 'reports/savings']; for (var i in temp2) { if (temp2[i] == location.path()) { return true; diff --git a/app/scripts/controllers/reports/ViewReportsController.js b/app/scripts/controllers/reports/ViewReportsController.js index 8eb0f802..861dba5f 100644 --- a/app/scripts/controllers/reports/ViewReportsController.js +++ b/app/scripts/controllers/reports/ViewReportsController.js @@ -21,6 +21,10 @@ resourceFactory.runReportsResource.get({reportSource: 'reportCategoryList', R_reportCategory: 'Loan', parameterType: true, genericResultSet: false}, function (data) { scope.reports = scope.getReports(data); }); + } else if (routeParams.type == 'savings') { + resourceFactory.runReportsResource.get({reportSource: 'reportCategoryList', R_reportCategory: 'Savings', parameterType: true, genericResultSet: false}, function (data) { + scope.reports = scope.getReports(data); + }); } else if (routeParams.type == 'funds') { resourceFactory.runReportsResource.get({reportSource: 'reportCategoryList', R_reportCategory: 'Fund', parameterType: true, genericResultSet: false}, function (data) { scope.reports = scope.getReports(data);