Adapted front with back update

This commit is contained in:
2026-05-25 10:53:32 +01:00
parent b03196ce0f
commit d2ca8b1bf2
8 changed files with 12 additions and 16 deletions
@@ -159,7 +159,7 @@ export class SupplierTable implements OnInit {
async deleteProduct(idProduct: number, idSupplier: number) {
try {
await firstValueFrom(this.pricesService.deletePriceEndpoint(idProduct, idSupplier));
await firstValueFrom(this.suppliersService.deleteProductToSupplierEndpoint(idProduct, idSupplier));
this.notificationService.success('Succès', 'Produit supprimé');
await this.fetchSuppliers();
} catch (e) {