only allow saving after image uploaded

This commit is contained in:
Patrick Alvin Alcala 2025-04-11 17:36:29 +08:00
parent 5283e7a6c6
commit 9cf3934f6f
2 changed files with 3 additions and 3 deletions

View file

@ -101,8 +101,7 @@ class _DeleteStockPageState extends State<DeleteStockPage> {
setState(() {});
} else {
_noStock = false;
print('quantity: $quantity');
print('serverQuantity: $_serverQuantity');
if (double.parse(quantity) > _serverQuantity) {
_aboveQuantity = true;
setState(() {});