From fb1f79c889cbed20314a33cdaf35db1f56467c8f Mon Sep 17 00:00:00 2001 From: Jaanu423 Date: Mon, 15 Jun 2026 14:58:44 +0530 Subject: [PATCH] feat(clerk): block clerk cash deposits with UI banner and save guard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Clerk cash deposits are not permitted — notes/coins denomination is cashier vault responsibility. Shows warning banner above footer and disables Save button when clerk selects cash payment type on a deposit. Co-Authored-By: Claude Sonnet 4.6 --- .../transaction-entry.component.html | 20 +++++++- .../transaction-entry.component.ts | 47 ++++++++++++++----- src/environments/.env.ts | 4 +- 3 files changed, 57 insertions(+), 14 deletions(-) diff --git a/src/app/cashier/transaction-entry/transaction-entry.component.html b/src/app/cashier/transaction-entry/transaction-entry.component.html index 4aebe762e..f03364f7f 100644 --- a/src/app/cashier/transaction-entry/transaction-entry.component.html +++ b/src/app/cashier/transaction-entry/transaction-entry.component.html @@ -1355,6 +1355,19 @@ } @else { + @if (isClerkCashDeposit) { +
+ + + + + + + CASH DEPOSIT NOT PERMITTED — Cash deposits can only be processed by the cashier. + Notes/coins denomination is managed at the cashier vault. + +
+ }