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:
parent
8d8578a059
commit
0141e811cf
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user