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
@@ -149,7 +149,6 @@ export class CreateGlimAccountComponent implements OnInit {
const memberSelected = this.selectedMembers.selectedMembers;
this.totalLoanAmount();
for (let index = 0; index < memberSelected.length; index++) {
console.log(memberSelected);
requestData.push({
requestId: index.toString(),
method : 'POST',
@@ -167,7 +166,6 @@ export class CreateGlimAccountComponent implements OnInit {
for (let index = 0; index < memberSelected.length; index++) {
total += memberSelected[index].principal;
}
console.log(total);
this.totalLoan = total;
}
@@ -176,7 +174,6 @@ export class CreateGlimAccountComponent implements OnInit {
*/
submit() {
const data = this.buildRequestData();
console.log(data);
this.loansService.createGlimAccount(data).subscribe((response: any) => {
this.router.navigate(['../../../'], { relativeTo: this.route });
});