Update dashboard table reports (#1653)

Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
José Alberto Hernández
2023-01-21 23:24:49 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent e61f4f92e3
commit 9ed38f0f7b
24 changed files with 58 additions and 57 deletions
@@ -3,7 +3,7 @@
<mat-card-header class="header">
<h3 fxFlex="100%">
<fa-icon icon="money-bill"></fa-icon>
&nbsp;&nbsp; Amount Disbursed
&nbsp;&nbsp; Amount Pending / Disbursed
<div>
<mat-form-field id="office" fxFlex="94%">
<mat-label>Office</mat-label>
@@ -24,7 +24,7 @@
</div>
<div *ngIf="showFallback" class="fallback" fxLayoutAlign="center center">
<p>No Data</p>
</div>
</div>
</mat-card-content>
</mat-card>
@@ -28,7 +28,7 @@ export class AmountDisbursedPieComponent implements OnInit {
/** Substitute for resolver */
hideOutput = true;
/** Shows fallback element */
showFallback = false;
showFallback = true;
/**
* Fetches offices data from `resolve`.
+2 -2
View File
@@ -26,7 +26,7 @@ export class HomeService {
const httpParams = new HttpParams()
.set('R_officeId', officeId.toString())
.set('genericResultSet', 'false');
return this.http.get('/runreports/Demand_Vs_Collection', { params: httpParams });
return this.http.get('/runreports/Demand Vs Collection', { params: httpParams });
}
/**
@@ -37,7 +37,7 @@ export class HomeService {
const httpParams = new HttpParams()
.set('R_officeId', officeId.toString())
.set('genericResultSet', 'false');
return this.http.get('/runreports/Disbursal_Vs_Awaitingdisbursal', { params: httpParams });
return this.http.get('/runreports/Disbursal Vs Awaitingdisbursal', { params: httpParams });
}
/**