KYC management: stage-wise notices, pagination, RD base chart

This commit is contained in:
2026-10-20 17:23:42 +05:30
parent 3e5cc26e49
commit 357f666421
108 changed files with 15001 additions and 2721 deletions
@@ -121,7 +121,17 @@
@for (r of requests; track r.id) {
<tr class="dri-row" [class.dri-row--approved]="r.status === 'APPROVED'" (click)="review(r)">
<td class="cell-mono dri-voucher">{{ r.voucher_no || '—' }}</td>
<td class="cell-mono">{{ r.account_no }}</td>
<td class="cell-mono">
{{ r.account_no }}
@if (r.inter_branch) {
<span
class="dri-branch-badge"
[title]="'Cash taken at ' + r.counter_office_name + ', account held at ' + r.account_office_name"
>
Inter-branch · {{ r.counter_office_name }} → {{ r.account_office_name }}
</span>
}
</td>
<td class="dri-client">{{ r.client_name }}</td>
<td class="num dri-amount">₹{{ r.amount | number: '1.2-2' }}</td>
<td>{{ r.payment_type_name || 'Cash' }}</td>
@@ -173,6 +183,20 @@
</div>
<div class="dri-modal__body">
@if (reviewRequest.inter_branch) {
<div class="dri-interbranch">
<mat-icon>alt_route</mat-icon>
<div>
<div class="dri-interbranch__title">Inter-branch deposit</div>
<div class="dri-interbranch__text">
Cash was received at <strong>{{ reviewRequest.counter_office_name }}</strong> but the account is held at
<strong>{{ reviewRequest.account_office_name }}</strong
>. The customer's account is credited in {{ reviewRequest.account_office_name }}'s books. Check the
account before approving.
</div>
</div>
</div>
}
<div class="dri-detail-grid">
<div class="dri-detail">
<span class="dri-detail__lbl">Account No</span>
@@ -463,6 +463,51 @@
}
}
/* Shown on a deposit whose cash was taken at one branch for an account held at another. */
.dri-interbranch {
display: flex;
align-items: flex-start;
gap: 12px;
margin: 0 0 12px;
padding: 12px 16px;
border: 1px solid #fcd34d;
border-left: 4px solid #f59e0b;
border-radius: 8px;
background: #fffbeb;
color: #78350f;
mat-icon {
flex-shrink: 0;
color: #d97706;
}
&__title {
font-size: 13px;
font-weight: 800;
letter-spacing: 0.02em;
text-transform: uppercase;
}
&__text {
margin-top: 2px;
font-size: 13px;
line-height: 1.5;
}
}
.dri-branch-badge {
display: block;
margin-top: 4px;
width: fit-content;
padding: 1px 8px;
border-radius: 999px;
background: #fef3c7;
color: #92400e;
font-family: inherit;
font-size: 11px;
font-weight: 700;
}
.dri-detail-grid {
display: grid;
grid-template-columns: 1fr 1fr;