feat: non-individual entity UI improvements — hide individual-only sections, fix legal form display, send extended fields to API

- Hide Family Members tab/section for non-individual entities in client view, create flow, and preview
- Hide Financial & Classification section for non-individual entities in personal data and preview
- Fix legal form column in clients list — fetch legalForm from client API for correct display
- Add person/business icon before client name in list rows
- Remove unsupportedNpd filter — send authorizedSignatory, additionalInfo, dateOfRegistration to API
- Add registration number format hint (mat-hint) based on constitution type
- Add spacing between verification row and constitution type dropdowns
- Reduce table cell padding and prevent action buttons from being clipped
- Add missing MPL-2.0 license headers

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Aditya
2026-04-04 15:10:51 +05:30
co-authored by Claude Opus 4.6
parent ab01111424
commit b890d24bb7
522 changed files with 51991 additions and 21885 deletions
@@ -6,32 +6,202 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
.container {
display: flex;
justify-content: center;
padding: 16px 12px;
}
$primary: #1353a0;
$accent: #0ea5e9;
$border: #e2e8f0;
$gray-50: #f8f9fa;
$gray-200: #e8eaed;
$gray-500: #9aa0a6;
$gray-700: #5f6368;
$gray-900: #202124;
.container > mat-card {
width: 100%;
max-width: 560px;
.bl-container {
max-width: 860px;
margin: 0 auto;
border-radius: 4px;
padding: 16px 20px;
box-shadow:
0 1px 3px rgb(16 24 40 / 10%),
0 1px 2px rgb(16 24 40 / 6%);
padding: 28px 24px;
}
mat-form-field {
.bl-header {
margin-bottom: 24px;
&__title {
font-size: 22px;
font-weight: 600;
color: $gray-900;
margin: 16px 0 0;
}
}
.bl-back {
border: 1px solid $border !important;
color: $gray-700 !important;
font-size: 13px;
font-weight: 500;
border-radius: 8px !important;
padding: 4px 14px !important;
transition: all 0.2s ease;
i {
margin-right: 6px;
font-size: 12px;
}
&:hover {
background: $gray-50 !important;
border-color: $gray-500 !important;
}
}
.bl-card {
background: #fff;
border: 1px solid $border;
border-radius: 12px;
padding: 0;
box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06), 0 1px 2px rgba(16, 24, 40, 0.04);
}
.bl-section {
padding: 24px 28px;
border-bottom: 1px solid $border;
&__header {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 20px;
i {
font-size: 16px;
color: $primary;
}
h3 {
font-size: 15px;
font-weight: 600;
color: $gray-900;
margin: 0;
}
}
}
.bl-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4px 20px;
@media (max-width: 600px) {
grid-template-columns: 1fr;
}
}
.bl-field {
width: 100%;
}
.flex-48 {
flex: 1 1 100%;
min-width: 100%;
// Loan selection tables
.bl-tables {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
@media (max-width: 600px) {
grid-template-columns: 1fr;
}
}
table {
width: 100%;
.bl-loan-table {
border: 1px solid $border;
border-radius: 8px;
overflow: hidden;
&__header {
background: $gray-50;
padding: 12px 16px;
font-size: 13px;
font-weight: 600;
color: $gray-700;
text-transform: uppercase;
letter-spacing: 0.4px;
border-bottom: 1px solid $border;
}
&__body {
padding: 8px 0;
max-height: 360px;
overflow-y: auto;
}
}
.bl-loan-group {
padding: 0 16px;
&__name {
font-size: 13px;
font-weight: 600;
color: $gray-900;
padding: 10px 0 4px;
border-bottom: 1px solid $gray-200;
margin-bottom: 4px;
}
&__item {
padding: 4px 0 4px 8px;
font-size: 13px;
color: $gray-700;
mat-checkbox {
font-size: 13px;
}
}
}
.bl-actions {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 12px;
padding: 18px 28px;
&__cancel {
border: 1px solid $border !important;
color: $gray-700 !important;
border-radius: 8px !important;
font-weight: 500;
font-size: 13px;
padding: 4px 20px !important;
transition: all 0.2s ease;
&:hover {
background: $gray-50 !important;
border-color: $gray-500 !important;
}
}
&__submit {
background: $primary !important;
color: #fff !important;
border-radius: 8px !important;
font-weight: 500;
font-size: 13px;
padding: 4px 20px !important;
box-shadow: 0 1px 2px rgba(19, 83, 160, 0.15);
transition: all 0.2s ease;
i {
margin-right: 6px;
font-size: 12px;
}
&:hover {
background: #0f4688 !important;
box-shadow: 0 2px 6px rgba(19, 83, 160, 0.25);
}
&:disabled {
background: $gray-200 !important;
color: $gray-500 !important;
box-shadow: none;
cursor: not-allowed;
}
}
}