Clerk submits a governed share redemption request (shares, Board Resolution No., Meeting Date, settlement Payment Type); Bank Manager reviews with a live backend-validated checklist (account/GL state, not just submit-time snapshot) before approving, which redeems the shares and settles the linked savings account in one transaction. Adds a Passbook tab to the Share Account view, a reusable search-select control, and a Savings Product "Map Payment Types to Specific Funds" fund-source override (only Loan Products had this before) so settlement can be GL-mapped correctly. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
78 lines
1.4 KiB
SCSS
78 lines
1.4 KiB
SCSS
/**
|
|
* Copyright since 2025 Mifos Initiative
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
/* Small shared layout/status-pill classes for the Share Withdrawal maker-checker screens —
|
|
* self-contained (this branch has no separate "investment" module to borrow them from). */
|
|
|
|
.inv-form-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.inv-form-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: #64748b;
|
|
|
|
input,
|
|
select,
|
|
textarea {
|
|
height: 36px;
|
|
padding: 0 10px;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
color: #0d1b2a;
|
|
font-family: inherit;
|
|
background: #fff;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
textarea {
|
|
height: auto;
|
|
padding: 8px 10px;
|
|
resize: vertical;
|
|
}
|
|
}
|
|
|
|
.inv-form-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
padding: 12px 16px 16px;
|
|
}
|
|
|
|
.inv-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 3px 10px;
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
background: #f1f5f9;
|
|
color: #475569;
|
|
|
|
&--active {
|
|
background: #fef3c7;
|
|
color: #92400e;
|
|
}
|
|
|
|
&--matured {
|
|
background: #dcfce7;
|
|
color: #166534;
|
|
}
|
|
|
|
&--written_off {
|
|
background: #fee2e2;
|
|
color: #991b1b;
|
|
}
|
|
}
|