Fixed and Recurring Deposit wizards now bidirectionally sync the Product tab's linked-account selection with the new Terms tab's Transfer-to-Savings account, disable the Withdraw Deposit maturity instruction end-to-end, and card-style the Transfer to Savings picker to match the existing linked-account UI. Adds a printable FD/RD deposit certificate from the account view page, following the existing letter-mgmt certificate pattern. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
153 lines
2.5 KiB
SCSS
153 lines
2.5 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/.
|
|
*/
|
|
|
|
// ── Transfer-to-Savings account card (mirrors the Deposit Account Link card) ──
|
|
|
|
.dal-card {
|
|
margin-top: 16px;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 12px;
|
|
background: #fff;
|
|
overflow: hidden;
|
|
|
|
&__header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 16px 24px;
|
|
border-bottom: 1px solid #f1f5f9;
|
|
background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
|
|
}
|
|
|
|
&__header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
}
|
|
|
|
&__icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 10px;
|
|
background: #0ea5e9;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #fff;
|
|
}
|
|
|
|
&__title {
|
|
margin: 0;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: #0c4a6e;
|
|
}
|
|
|
|
&__sub {
|
|
display: block;
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
&__body {
|
|
padding: 20px 24px;
|
|
}
|
|
}
|
|
|
|
.dal-selected {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 16px 20px;
|
|
border: 2px solid #0ea5e9;
|
|
border-radius: 12px;
|
|
background: #f0f9ff;
|
|
|
|
&__info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
flex: 1;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
&__details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
flex: 1;
|
|
}
|
|
|
|
&__accno {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: #0c4a6e;
|
|
font-family: monospace;
|
|
}
|
|
|
|
&__product {
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
}
|
|
|
|
&__balance {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
gap: 2px;
|
|
}
|
|
|
|
&__bal-label {
|
|
font-size: 10px;
|
|
color: #94a3b8;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
&__bal-amount {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: #0c4a6e;
|
|
}
|
|
}
|
|
|
|
.dal-change-btn {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.dal-type-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 4px 12px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
background: #f1f5f9;
|
|
color: #475569;
|
|
border: 1px solid #e2e8f0;
|
|
|
|
mat-icon {
|
|
font-size: 14px;
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
&--savings {
|
|
background: #eff6ff;
|
|
color: #1d4ed8;
|
|
border-color: #bfdbfe;
|
|
|
|
mat-icon {
|
|
color: #2563eb;
|
|
}
|
|
}
|
|
}
|