diff --git a/src/app/clients/clients-routing.module.ts b/src/app/clients/clients-routing.module.ts
index 3ec27b3da..3bb1f4b56 100644
--- a/src/app/clients/clients-routing.module.ts
+++ b/src/app/clients/clients-routing.module.ts
@@ -246,7 +246,7 @@ const routes: Routes = [
loadChildren: '../deposits/recurring-deposits/recurring-deposits.module#RecurringDepositsModule'
},
{
- path: 'sharesaccounts',
+ path: 'shares-accounts',
loadChildren: '../shares/shares.module#SharesModule'
},
{
diff --git a/src/app/clients/clients-view/clients-view.component.html b/src/app/clients/clients-view/clients-view.component.html
index a98963d9c..8cafb9e73 100644
--- a/src/app/clients/clients-view/clients-view.component.html
+++ b/src/app/clients/clients-view/clients-view.component.html
@@ -64,7 +64,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 342a1fa83..6d62481e7 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
@@ -544,15 +544,15 @@
Actions |
|
@@ -561,7 +561,7 @@
+ [routerLink]="['../', 'shares-accounts', row.id, 'transactions']">
diff --git a/src/app/notifications/notifications-page/notifications-page.component.ts b/src/app/notifications/notifications-page/notifications-page.component.ts
index c432152c9..ef2857c2b 100644
--- a/src/app/notifications/notifications-page/notifications-page.component.ts
+++ b/src/app/notifications/notifications-page/notifications-page.component.ts
@@ -29,7 +29,7 @@ export class NotificationsPageComponent implements OnInit {
'group' : '/groups/',
'loan' : '/loans/',
'center' : '/centers/',
- 'shareAccount' : '/sharesaccounts/',
+ 'shareAccount' : '/shares-accounts/',
'fixedDeposit' : '/fixed-deposits-accounts/',
'recurringDepositAccount': '/recurringdeposits/',
'savingsAccount' : '/savingsaccounts/',
diff --git a/src/app/notifications/notifications-tray/notifications-tray.component.ts b/src/app/notifications/notifications-tray/notifications-tray.component.ts
index b953cfce0..41a93e33a 100644
--- a/src/app/notifications/notifications-tray/notifications-tray.component.ts
+++ b/src/app/notifications/notifications-tray/notifications-tray.component.ts
@@ -36,7 +36,7 @@ export class NotificationsTrayComponent implements OnInit, OnDestroy {
'group' : '/groups/',
'loan' : '/loans/',
'center' : '/centers/',
- 'shareAccount' : '/sharesaccounts/',
+ 'shareAccount' : '/shares-accounts/',
'fixedDeposit' : '/fixed-deposits-accounts/',
'recurringDepositAccount': '/recurringdeposits/',
'savingsAccount' : '/savingsaccounts/',
diff --git a/src/app/search/search-page/search-page.component.ts b/src/app/search/search-page/search-page.component.ts
index f4b4d2b66..42f1afb41 100644
--- a/src/app/search/search-page/search-page.component.ts
+++ b/src/app/search/search-page/search-page.component.ts
@@ -48,7 +48,7 @@ export class SearchPageComponent {
this.router.navigate(['groups', entity.entityId]);
break;
case 'SHARE':
- this.router.navigate(['clients', entity.parentId, 'sharesaccounts', entity.entityId]);
+ this.router.navigate(['clients', entity.parentId, 'shares-accounts', entity.entityId]);
break;
case 'SAVING':
this.router.navigate(['clients', entity.parentId, 'savingsaccounts', entity.entityId]);
diff --git a/src/app/shares/common-resolvers/share-account-actions.resolver.ts b/src/app/shares/common-resolvers/share-account-actions.resolver.ts
new file mode 100644
index 000000000..93372b0c6
--- /dev/null
+++ b/src/app/shares/common-resolvers/share-account-actions.resolver.ts
@@ -0,0 +1,41 @@
+/** Angular Imports */
+import { Injectable } from '@angular/core';
+import { Resolve, ActivatedRouteSnapshot } from '@angular/router';
+
+/** rxjs Imports */
+import { Observable } from 'rxjs';
+
+/** Custom Services */
+import { SharesService } from '../shares.service';
+
+/**
+ * Shares Account Actions data resolver.
+ */
+@Injectable()
+export class ShareAccountActionsResolver implements Resolve