mirror of
https://github.com/openMF/community-app.git
synced 2026-02-06 13:51:55 +00:00
fixing issues caused due to angular upgrade and add new section under reports header for savings reports
This commit is contained in:
parent
c059269ed7
commit
352a4f83b2
@ -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",
|
||||
|
||||
@ -45,7 +45,7 @@
|
||||
<h1>{{ 'label.heading.mifosx' | translate }}</h1>
|
||||
<span>{{ 'label.heading.version' | translate }}</span><br/>
|
||||
<span>{{ 'label.heading.uptodate' | translate }}</span><br/>
|
||||
<span ng-bind-html-unsafe="text"></span>
|
||||
<span ng-bind-html="text"></span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -163,6 +163,7 @@
|
||||
<li><a href="#/reports/all">{{ 'label.anchor.all' | translate }}</a></li>
|
||||
<li><a href="#/reports/clients">{{ 'label.anchor.clients' | translate }}</a></li>
|
||||
<li><a href="#/reports/loans">{{ 'label.anchor.loans' | translate }}</a></li>
|
||||
<li><a href="#/reports/savings">{{ 'label.anchor.savings' | translate }}</a></li>
|
||||
<li><a href="#/reports/funds">{{ 'label.anchor.funds' | translate }}</a></li>
|
||||
<li><a href="#/reports/accounting">{{ 'label.anchor.accounting' | translate }}</a></li>
|
||||
<li><a href="#/xbrl">{{ 'label.anchor.xbrl' | translate }}</a></li>
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user