StockEntry should be removed due to the fact that it will be only modified by the movement of the stock

This commit is contained in:
Yann ASTIER 2025-05-06 11:38:44 +02:00
parent 8d8578a059
commit 0141e811cf

View File

@ -35,9 +35,9 @@ namespace MauiAppStock.Views
Nom = NomEntry.Text,
Description = DescriptionEditor.Text,
Prix = prix,
Stock = stock,
Stock = 0
// Appareil = appareilPicked.Id, Exemple pour fournisseur
Fournisseur = FournisseurEntry.Text
//Fournisseur = FournisseurEntry.Text
};
await Database.AddPieceAsync(piece);
await Navigation.PopAsync();