feat(investment): due date diary, script status, deal no by deal date, matured-only redemption, keep typed rate and business-rule error title

This commit is contained in:
2026-10-22 17:39:50 +05:30
parent 6890584b16
commit d89f13471c
11 changed files with 423 additions and 13 deletions
@@ -0,0 +1,84 @@
/**
* 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/.
*/
.diary-actions {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 8px;
margin-top: 12px;
}
.diary-error {
margin: 8px 0 0;
color: #b91c1c;
}
.diary-summary {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 12px;
}
.diary-tile {
display: flex;
flex-direction: column;
gap: 4px;
padding: 14px 16px;
border: 1px solid #e2e8f0;
border-radius: 10px;
background: #fff;
&--bad {
border-color: #fecaca;
background: #fef2f2;
}
}
.diary-tile-l {
font-size: 12px;
color: #64748b;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.diary-tile-v {
font-size: 22px;
font-weight: 700;
color: #0f172a;
}
.diary-badge--posted {
background: #f0fdf4;
color: #15803d;
border: 1px solid #bbf7d0;
}
.diary-badge--due {
background: #fff7ed;
color: #c2410c;
border: 1px solid #fed7aa;
}
.diary-badge--overdue {
background: #fef2f2;
color: #b91c1c;
border: 1px solid #fecaca;
}
.diary-badge--upcoming {
background: #eff6ff;
color: #1d4ed8;
border: 1px solid #bfdbfe;
}
.diary-open {
font-weight: 600;
white-space: nowrap;
text-decoration: none;
}