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,
|
Nom = NomEntry.Text,
|
||||||
Description = DescriptionEditor.Text,
|
Description = DescriptionEditor.Text,
|
||||||
Prix = prix,
|
Prix = prix,
|
||||||
Stock = stock,
|
Stock = 0
|
||||||
// Appareil = appareilPicked.Id, Exemple pour fournisseur
|
// Appareil = appareilPicked.Id, Exemple pour fournisseur
|
||||||
Fournisseur = FournisseurEntry.Text
|
//Fournisseur = FournisseurEntry.Text
|
||||||
};
|
};
|
||||||
await Database.AddPieceAsync(piece);
|
await Database.AddPieceAsync(piece);
|
||||||
await Navigation.PopAsync();
|
await Navigation.PopAsync();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user