Fix search entities view for savings and deposits accounts

This commit is contained in:
Jose Alberto Hernandez
2024-02-07 14:10:07 +01:00
committed by Adam Saghy
parent 5d0e063be6
commit f643b15949
11 changed files with 45 additions and 14 deletions
+1 -1
View File
@@ -251,7 +251,7 @@ const routes: Routes = [
loadChildren: () => import('../savings/savings.module').then(m => m.SavingsModule)
},
{
path: 'recurringdeposits',
path: 'recurring-deposits-accounts',
loadChildren: () => import('../deposits/recurring-deposits/recurring-deposits.module').then(m => m.RecurringDepositsModule)
},
{
@@ -115,7 +115,7 @@
<button mat-menu-item *mifosxHasPermission="'CREATE_SHAREACCOUNT'"
[routerLink]="['shares-accounts', 'create']">{{"labels.buttons.New Share Account" | translate}}</button>
<button mat-menu-item *mifosxHasPermission="'CREATE_RECURRINGDEPOSITACCOUNT'"
[routerLink]="['recurringdeposits', 'create-recurring-deposits-account']">{{"labels.buttons.New Recurring Deposit Account" | translate}}</button>
[routerLink]="['recurring-deposits-accounts', 'create-recurring-deposits-account']">{{"labels.buttons.New Recurring Deposit Account" | translate}}</button>
<button mat-menu-item *mifosxHasPermission="'CREATE_FIXEDDEPOSITACCOUNT'"
[routerLink]="['fixed-deposits-accounts', 'create']">{{"labels.buttons.New Fixed Deposits Account" | translate}}</button>
</mat-menu>
@@ -476,7 +476,7 @@
<td mat-cell class="center" *matCellDef="let element">
<ng-container *ngIf="element.status.submittedAndPendingApproval">
<button class="account-action-button" mat-raised-button *mifosxHasPermission="'APPROVE_SAVINGSACCOUNT'"
[routerLink]="['../','recurringdeposits', element.id, 'actions', 'Approve']" color="primary">
[routerLink]="['../','recurring-deposits-accounts', element.id, 'actions', 'Approve']" color="primary">
<i class="fa fa-check"></i>
</button>
</ng-container>
@@ -484,12 +484,12 @@
<button
class="account-action-button" mat-raised-button color="primary" (click)="routeEdit($event)"
*mifosxHasPermission="'APPROVALUNDO_SAVINGSACCOUNT'"
[routerLink]="['../','recurringdeposits', element.id, 'actions', 'Undo Approval']">
[routerLink]="['../','recurring-deposits-accounts', element.id, 'actions', 'Undo Approval']">
<i class="fa fa-undo"></i>
</button>
<button class="account-action-button" mat-raised-button color="primary" (click)="routeEdit($event)"
*mifosxHasPermission="'ACTIVATE_SAVINGSACCOUNT'"
[routerLink]="['../','recurringdeposits', element.id, 'actions', 'Activate']">
[routerLink]="['../','recurring-deposits-accounts', element.id, 'actions', 'Activate']">
<i class="fa fa-check-circle"></i>
</button>
</ng-container>
@@ -498,7 +498,7 @@
<tr mat-header-row *matHeaderRowDef="openSavingsColumns"></tr>
<tr mat-row *matRowDef="let row; columns: openSavingsColumns;"
[routerLink]="['../', 'recurringdeposits', row.id, 'general']" class="select-row"></tr>
[routerLink]="['../', 'recurring-deposits-accounts', row.id, 'general']" class="select-row"></tr>
</table>
@@ -525,7 +525,7 @@
<tr mat-header-row *matHeaderRowDef="closedSavingsColumns"></tr>
<tr mat-row *matRowDef="let row; columns: closedSavingsColumns;"
[routerLink]="['../', 'recurringdeposits', row.id, 'general']" class="select-row"></tr>
[routerLink]="['../', 'recurring-deposits-accounts', row.id, 'general']" class="select-row"></tr>
</table>
<!-- Shares overview Table -->