only allow saving after image uploaded
This commit is contained in:
parent
5283e7a6c6
commit
9cf3934f6f
2 changed files with 3 additions and 3 deletions
|
|
@ -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(() {});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue