feat(loan-origination): guarantor share-account verification, committee resolution gating, legal doc uploads, CIC score-detection fixes, and interest/share rate chart
build-run / Run Lint, Build and Deploy (push) Canceled after 0s
Publish Image in Docker Hub / build (push) Canceled after 0s
Playwright E2E Tests / Run Playwright Tests (push) Canceled after 0s
Tests / testRigor (push) Canceled after 0s

- Guarantor must be a real existing client with a verified active share account, with clickable share-account chips
- Loan Committee Approval now requires Resolution No./Date plus a full application report before approving
- Loan Committee gets its own pre-filtered pipeline view via a menu link and stage query param
- Legal Approval stage gets a multi-file document upload checklist with add-more support
- CIC PDF parser: item-level score detection before line-based fallback, fixing font-size-driven line-merging misdetection
- New Interest & Share Rate Chart tab: per-product interest/tenure bands and per-amount-slab Share Capital linkage requirements
This commit is contained in:
2026-08-14 14:49:22 +05:30
parent 1d1e76497c
commit 2d93f80d50
8 changed files with 773 additions and 38 deletions
@@ -774,6 +774,97 @@
flex: 1;
}
// Legal Approval documents -- its own card style (icon + status accent stripe) rather than the
// plain .loi-kyc-card, since Legal Approval is a page most officers look at repeatedly right
// before disbursement and benefits from a clearer, less generic-looking checklist.
.loi-legal-doc-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
margin-bottom: 4px;
}
.loi-legal-doc-progress {
font-size: 11.5px;
font-weight: 700;
color: #64748b;
background: #f1f5f9;
padding: 3px 10px;
border-radius: 999px;
}
.loi-legal-doc-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
gap: 12px;
margin-bottom: 10px;
}
.loi-legal-doc-card {
display: flex;
flex-direction: column;
gap: 8px;
padding: 12px 14px;
border: 1px solid #e2e8f0;
border-left: 4px solid #f59e0b;
border-radius: 10px;
background: #fff;
transition:
box-shadow 0.15s ease,
border-color 0.15s ease;
&:hover {
box-shadow: 0 3px 12px rgb(15 23 42 / 6%);
}
&--submitted {
border-left-color: #10b981;
}
}
.loi-legal-doc-title-row {
display: flex;
align-items: flex-start;
gap: 8px;
}
.loi-legal-doc-icon {
font-size: 18px;
line-height: 1.3;
}
.loi-legal-doc-title {
flex: 1;
font-size: 12.5px;
font-weight: 700;
color: #1e293b;
line-height: 1.35;
}
.loi-legal-doc-upload-btn {
font-size: 12px;
}
.loi-legal-doc-thumb-wrap {
display: flex;
align-items: center;
gap: 2px;
}
.loi-legal-doc-thumb-remove {
border: none;
background: none;
color: #94a3b8;
font-size: 12px;
cursor: pointer;
padding: 0 2px;
&:hover {
color: #dc2626;
}
}
// CIC Credit Bureau Hero Card in Stage detail
.loi-cic-hero-card {
display: flex;