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>
40 lines
1.4 KiB
TypeScript
40 lines
1.4 KiB
TypeScript
/**
|
|
* 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/.
|
|
*/
|
|
|
|
/** Angular Imports */
|
|
import { Component, inject } from '@angular/core';
|
|
import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
|
|
import { MatButtonModule } from '@angular/material/button';
|
|
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
|
|
|
|
/**
|
|
* Something the clerk needs told, with nothing to decide.
|
|
*
|
|
* The platform's confirmation dialog asks a question - Cancel or Confirm - and its buttons imply a
|
|
* choice. Used for a plain statement it leaves the clerk hunting for what they are agreeing to, and
|
|
* "Cancel" reads as though the thing being described could be undone. The error dialog has the right
|
|
* single button but dresses the message in red, which turns "this agent has no parties" into a fault.
|
|
*
|
|
* So: one button, and the message stands on its own.
|
|
*/
|
|
@Component({
|
|
selector: 'mifosx-notice-dialog',
|
|
standalone: true,
|
|
imports: [
|
|
MatDialogModule,
|
|
MatButtonModule,
|
|
FaIconComponent
|
|
],
|
|
templateUrl: './notice-dialog.component.html',
|
|
styleUrls: ['./notice-dialog.component.scss']
|
|
})
|
|
export class NoticeDialogComponent {
|
|
/** { heading, message } */
|
|
data = inject<any>(MAT_DIALOG_DATA);
|
|
}
|