The Daily Transaction Entry screen no longer composes a Party Tran. An agent records their own round elsewhere; this screen reads back what they wrote down, shows what it adds up to, and settles the day once a clerk has counted the cash against it. Nothing is typed here and nothing is edited - what settles is what the entries say, to the rupee. Agent Master now asks which ledger account the agent's collections pass through, one agent to an account, and offers only the accounts that can carry them. The DDS scheme product is kept out of the agent's own savings list for the same reason the server refuses it: debits are blocked on those accounts, so commission paid into one would go in and never come out. The DDS product carries a Maturity Auto Close setting, asked as Yes/No to match the Auto Interest Post question directly above it, and Batch Processing offers the run that applies it. Also: the report viewer stops printing two money columns ungrouped and stops totalling a column that holds a word, and an agent's birth date cannot be picked later than eighteen years ago. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
60 lines
1.3 KiB
SCSS
60 lines
1.3 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/.
|
|
*/
|
|
|
|
@use 'assets/styles/product-list' as pl;
|
|
|
|
@include pl.product-list-styles;
|
|
|
|
/* Agent-specific indigo accent */
|
|
:host {
|
|
--pl-accent: #4338ca;
|
|
--pl-accent-l: #e0e7ff;
|
|
}
|
|
|
|
/* A retired agent stays listed but reads as switched off. */
|
|
.am-row--inactive td:not(.num) {
|
|
opacity: 0.55;
|
|
}
|
|
|
|
/* Closing is the last, irreversible step, so it does not read like the buttons beside it. */
|
|
.pl-action-btn--close {
|
|
color: #9b2c2c;
|
|
}
|
|
|
|
/* A closed agent shows when, in place of the actions it no longer has. */
|
|
.am-closed-on {
|
|
font-size: 12px;
|
|
font-style: italic;
|
|
color: #9b2c2c;
|
|
}
|
|
|
|
.am-pill {
|
|
display: inline-block;
|
|
padding: 3px 11px;
|
|
border-radius: 11px;
|
|
font-size: 0.72rem;
|
|
font-weight: 500;
|
|
line-height: 1.7;
|
|
background: #dcfce7;
|
|
color: #15803d;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.am-pill--off {
|
|
background: rgb(0 0 0 / 7%);
|
|
color: rgb(0 0 0 / 52%);
|
|
}
|
|
|
|
/* An agent with no branch is an agent no branch's batch run will collect for - say so plainly
|
|
rather than showing an em dash that reads like "nothing to see here". */
|
|
.am-no-branch {
|
|
font-size: 12px;
|
|
font-style: italic;
|
|
color: #9b2c2c;
|
|
}
|