merge feature/update_code and feature/UI-MFA-Product branch code

This commit is contained in:
Nitesh Yadav
2026-05-11 11:36:56 +05:30
82 changed files with 7789 additions and 650 deletions
@@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import { Component, OnInit, inject, ViewChild, ElementRef, AfterViewInit } from '@angular/core';
import { Component, OnInit, inject, ViewChild, ElementRef } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { MatCardModule } from '@angular/material/card';
@@ -24,7 +24,7 @@ import { Complaint, DashboardStats, ComplaintStatus } from '../models/cfcfrms.mo
Chart.register(...registerables);
@Component({
selector: 'cfcfrms-dashboard',
selector: 'mifosx-cfcfrms-dashboard',
standalone: true,
imports: [
CommonModule,
@@ -41,7 +41,7 @@ Chart.register(...registerables);
templateUrl: './cfcfrms-dashboard.component.html',
styleUrls: ['./cfcfrms-dashboard.component.scss']
})
export class CfcfrmsDashboardComponent implements OnInit, AfterViewInit {
export class CfcfrmsDashboardComponent implements OnInit {
private cfcfrmsService = inject(CfcfrmsService);
stats: DashboardStats;
@@ -66,8 +66,6 @@ export class CfcfrmsDashboardComponent implements OnInit, AfterViewInit {
this.loadData();
}
ngAfterViewInit(): void {}
loadData(): void {
this.isLoading = true;
this.cfcfrmsService.getStats().subscribe({