feat(investment): non-SLR bonds and mutual funds, rate upload, UAT fixes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -137,6 +137,12 @@ export class FdInvestmentComponent implements OnInit {
|
||||
toastVisible = false;
|
||||
private toastTimer: ReturnType<typeof setTimeout> | undefined;
|
||||
|
||||
/** An unposted line is due from about two days before its date (the reminder window); before that it is scheduled. */
|
||||
isDueSoon(intDate: string): boolean {
|
||||
const due = parseDDMMYYYY(intDate).getTime();
|
||||
return due - parseDDMMYYYY(todayDDMMYYYY()).getTime() <= 2 * 24 * 3600 * 1000;
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
this.investmentService.getParties().subscribe({
|
||||
next: (ps) => (this.fdParties = ps.filter((p) => p.bondType === 'FD' && p.active && !!p.interestGlAccountId)),
|
||||
|
||||
Reference in New Issue
Block a user