it is not usual to restock 1 item (bottle or whatever)
… so it is unhandy to have such a default (in the box). i do not want to do this editing (the value in box) almost every time.
This commit is contained in:
parent
4e15f74245
commit
9f545d9854
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ data UpstockAmount = UpstockAmount
|
||||||
|
|
||||||
upstockForm :: AForm Handler UpstockAmount
|
upstockForm :: AForm Handler UpstockAmount
|
||||||
upstockForm = UpstockAmount
|
upstockForm = UpstockAmount
|
||||||
<$> areq amountField (bfs MsgAmountAdded) (Just 1)
|
<$> areq amountField (bfs MsgAmountAdded) (Just 0)
|
||||||
<*> areq amountField (bfs MsgCrateAmountAdded) (Just 0)
|
<*> areq amountField (bfs MsgCrateAmountAdded) (Just 0)
|
||||||
<* bootstrapSubmit (msgToBSSubmit MsgFillup)
|
<* bootstrapSubmit (msgToBSSubmit MsgFillup)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue