diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index f34c2826d..b40720476 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -34,6 +34,7 @@ import { OrganizationModule } from './organization/organization.module';
import { TemplatesModule } from './templates/templates.module';
import { UsersModule } from './users/users.module';
import { ReportsModule } from './reports/reports.module';
+import { SearchModule } from './search/search.module';
import { NotificationsModule } from './notifications/notifications.module';
import { CollectionsModule } from './collections/collections.module';
import { ProfileModule } from './profile/profile.module';
@@ -73,6 +74,7 @@ import { AppRoutingModule } from './app-routing.module';
TemplatesModule,
UsersModule,
NotificationsModule,
+ SearchModule,
CollectionsModule,
TasksModule,
AppRoutingModule,
diff --git a/src/app/centers/centers-routing.module.ts b/src/app/centers/centers-routing.module.ts
index 234cee2b3..5b4a91e21 100644
--- a/src/app/centers/centers-routing.module.ts
+++ b/src/app/centers/centers-routing.module.ts
@@ -107,6 +107,10 @@ const routes: Routes = [
centersActionData: CenterActionsResolver
}
},
+ {
+ path: 'savingsaccounts',
+ loadChildren: () => import('../savings/savings.module').then(m => m.SavingsModule)
+ }
]
}
]
diff --git a/src/app/centers/centers-view/centers-view.component.html b/src/app/centers/centers-view/centers-view.component.html
index 2c3050387..c30c1fee5 100644
--- a/src/app/centers/centers-view/centers-view.component.html
+++ b/src/app/centers/centers-view/centers-view.component.html
@@ -4,7 +4,7 @@

+ src='assets/images/center_placeholder.png'>
diff --git a/src/app/centers/centers-view/general-tab/general-tab.component.html b/src/app/centers/centers-view/general-tab/general-tab.component.html
index c1c4f06d3..2d0d69361 100644
--- a/src/app/centers/centers-view/general-tab/general-tab.component.html
+++ b/src/app/centers/centers-view/general-tab/general-tab.component.html
@@ -46,7 +46,7 @@
|
-
|
+
|
@@ -129,7 +129,7 @@
|
-
|
+
|
diff --git a/src/app/clients/clients-view/general-tab/general-tab.component.html b/src/app/clients/clients-view/general-tab/general-tab.component.html
index 703af8caf..bb2ecdfd5 100644
--- a/src/app/clients/clients-view/general-tab/general-tab.component.html
+++ b/src/app/clients/clients-view/general-tab/general-tab.component.html
@@ -314,7 +314,7 @@
|
-
|
+
|
@@ -597,7 +597,7 @@
|
-
|
+
|
diff --git a/src/app/clients/clients-view/notes-tab/notes-tab.component.ts b/src/app/clients/clients-view/notes-tab/notes-tab.component.ts
index f610efe8b..3203e8ade 100644
--- a/src/app/clients/clients-view/notes-tab/notes-tab.component.ts
+++ b/src/app/clients/clients-view/notes-tab/notes-tab.component.ts
@@ -6,10 +6,11 @@ import { FormGroup, FormBuilder, Validators } from '@angular/forms';
/** Custom Components */
import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dialog.component';
+import { EditNotesDialogComponent } from '../custom-dialogs/edit-notes-dialog/edit-notes-dialog.component';
/** Custom Services */
import { ClientsService } from '../../clients.service';
-import { EditNotesDialogComponent } from '../custom-dialogs/edit-notes-dialog/edit-notes-dialog.component';
+import { AuthenticationService } from 'app/core/authentication/authentication.service';
/**
* Notes Tab Component
@@ -37,13 +38,16 @@ export class NotesTabComponent implements OnInit {
* @param {ActivatedRoute} route Activated Route
* @param {FormBuilder} formBuilder Form Builder
* @param {ClientsService} clientsService Clients Service
+ * @param {AuthenticationService} authenticationService Authentication Service
* @param {MatDialog} dialog Mat Dialog
*/
constructor(private route: ActivatedRoute,
private formBuilder: FormBuilder,
private clientsService: ClientsService,
+ private authenticationService: AuthenticationService,
public dialog: MatDialog) {
- this.username = JSON.parse(sessionStorage.getItem('mifosXCredentials')).username;
+ const credentials = this.authenticationService.getCredentials();
+ this.username = credentials.username;
this.clientId = this.route.parent.snapshot.params['clientId'];
this.route.data.subscribe((data: { clientNotes: any }) => {
this.clientNotes = data.clientNotes;
diff --git a/src/app/core/core.module.ts b/src/app/core/core.module.ts
index 4969c5c90..26666babb 100644
--- a/src/app/core/core.module.ts
+++ b/src/app/core/core.module.ts
@@ -46,8 +46,6 @@ import { ContentComponent } from './shell/content/content.component';
@NgModule({
imports: [
SharedModule,
- SearchModule,
- NotificationsModule,
HttpClientModule,
TranslateModule,
RouterModule
diff --git a/src/app/core/shell/sidenav/sidenav.component.html b/src/app/core/shell/sidenav/sidenav.component.html
index 77105dc48..9e77a960c 100644
--- a/src/app/core/shell/sidenav/sidenav.component.html
+++ b/src/app/core/shell/sidenav/sidenav.component.html
@@ -32,14 +32,13 @@