DbImage works!!

Credit Salary works!!

Refresh router created, now need to use it in angular

Errors should now show up in the frontend.
This commit is contained in:
tanshu committed 2020-05-30 01:58:17 +05:30
1 parent e3286c87ba
commit 10dbe6663d
34 files changed
+264 -233

No files matched your search

@@ -222,7 +222,7 @@ export class PurchaseComponent implements OnInit, AfterViewInit, OnDestroy {
this.toaster.show('Success', 'Voucher Posted');
},
(error) => {
this.toaster.show('Danger', error.error);
this.toaster.show('Danger', error);
}
);
}
@@ -236,7 +236,7 @@ export class PurchaseComponent implements OnInit, AfterViewInit, OnDestroy {
this.router.navigate(['/purchase', result.id]);
},
(error) => {
this.toaster.show('Danger', error.error);
this.toaster.show('Danger', error);
}
);
}
@@ -257,7 +257,7 @@ export class PurchaseComponent implements OnInit, AfterViewInit, OnDestroy {
this.router.navigate(['/purchase'], {replaceUrl: true});
},
(error) => {
this.toaster.show('Danger', error.error);
this.toaster.show('Danger', error);
}
);
}