From 4660a3eb1577d93e17122e689393a81fce27e4c9 Mon Sep 17 00:00:00 2001 From: keshav898966 Date: Wed, 24 Jun 2026 13:11:54 +0530 Subject: [PATCH] feat(tellers,savings): restrict teller creation, remove cashier vault actions, and add saving share link toggle --- .../tellers/cashiers/cashiers.component.html | 32 ------------------- .../tellers/cashiers/cashiers.component.ts | 3 +- .../tellers/tellers.component.html | 4 +-- .../organization/tellers/tellers.component.ts | 5 --- ...avings-account-details-step.component.html | 15 +++++---- .../savings-account-details-step.component.ts | 7 ++++ ...avings-account-preview-step.component.html | 13 ++++++-- 7 files changed, 28 insertions(+), 51 deletions(-) diff --git a/src/app/organization/tellers/cashiers/cashiers.component.html b/src/app/organization/tellers/cashiers/cashiers.component.html index 02ff07016..6bafeab44 100644 --- a/src/app/organization/tellers/cashiers/cashiers.component.html +++ b/src/app/organization/tellers/cashiers/cashiers.component.html @@ -54,38 +54,6 @@ {{ cashier.isFullDay | yesNo }} - - {{ 'labels.inputs.Vault Actions' | translate }} - - - - - diff --git a/src/app/organization/tellers/cashiers/cashiers.component.ts b/src/app/organization/tellers/cashiers/cashiers.component.ts index f301ffc47..0e25d162c 100644 --- a/src/app/organization/tellers/cashiers/cashiers.component.ts +++ b/src/app/organization/tellers/cashiers/cashiers.component.ts @@ -67,8 +67,7 @@ export class CashiersComponent implements OnInit { displayedColumns: string[] = [ 'period', 'staffName', - 'isFullDay', - 'vaultActions' + 'isFullDay' ]; /** Data source for cashiers table. */ dataSource: MatTableDataSource; diff --git a/src/app/organization/tellers/tellers.component.html b/src/app/organization/tellers/tellers.component.html index 8e38d98f3..280588dc5 100644 --- a/src/app/organization/tellers/tellers.component.html +++ b/src/app/organization/tellers/tellers.component.html @@ -20,7 +20,7 @@ {{ 'labels.inputs.Filter' | translate }} -
+
diff --git a/src/app/organization/tellers/tellers.component.ts b/src/app/organization/tellers/tellers.component.ts index fc3ea024e..1df141205 100644 --- a/src/app/organization/tellers/tellers.component.ts +++ b/src/app/organization/tellers/tellers.component.ts @@ -8,7 +8,6 @@ /** Angular Imports */ import { Component, OnInit, ViewChild, inject } from '@angular/core'; -import { MatPaginator } from '@angular/material/paginator'; import { MatSort, MatSortHeader } from '@angular/material/sort'; import { MatTableDataSource, @@ -55,7 +54,6 @@ import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; MatHeaderRow, MatRowDef, MatRow, - MatPaginator, DateFormatPipe ] }) @@ -75,8 +73,6 @@ export class TellersComponent implements OnInit { /** Data source for tellers table. */ dataSource: MatTableDataSource; - /** Paginator for tellers table. */ - @ViewChild(MatPaginator, { static: true }) paginator: MatPaginator; /** Sorter for tellers table. */ @ViewChild(MatSort, { static: true }) sort: MatSort; @@ -110,7 +106,6 @@ export class TellersComponent implements OnInit { */ setTellers() { this.dataSource = new MatTableDataSource(this.tellersData); - this.dataSource.paginator = this.paginator; this.dataSource.sort = this.sort; } } diff --git a/src/app/savings/savings-account-stepper/savings-account-details-step/savings-account-details-step.component.html b/src/app/savings/savings-account-stepper/savings-account-details-step/savings-account-details-step.component.html index 0e2834bc4..ea68c5170 100644 --- a/src/app/savings/savings-account-stepper/savings-account-details-step/savings-account-details-step.component.html +++ b/src/app/savings/savings-account-stepper/savings-account-details-step/savings-account-details-step.component.html @@ -1,4 +1,4 @@ -