/** * 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/. */ import { Component, inject } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { MatDialogRef, MatDialogModule, MAT_DIALOG_DATA } from '@angular/material/dialog'; import { MatButtonModule } from '@angular/material/button'; import { FaIconComponent } from '@fortawesome/angular-fontawesome'; import { DipLookupsService } from './dip-lookups.service'; /** * Records — or displays — the officer's decision on a flagged DIP/MNRL lookup. * * The same decision can be taken inline during onboarding; this is the back-office path for * numbers that were left undecided, and the read-only view once a decision exists. */ @Component({ selector: 'mifosx-dip-decision-dialog', template: `
{{ row.overrideReason || 'No reason recorded.' }}