Merge pull request #113 from yater/patch-1

it is not usual to restock 1 item (bottle or whatever)
This commit is contained in:
rys ostrovid 2018-09-04 16:45:43 +02:00 committed by GitHub
commit 9bb10c88c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ data UpstockAmount = UpstockAmount
upstockForm :: AForm Handler UpstockAmount
upstockForm = UpstockAmount
<$> areq amountField (bfs MsgAmountAdded) (Just 1)
<$> areq amountField (bfs MsgAmountAdded) (Just 0)
<*> areq amountField (bfs MsgCrateAmountAdded) (Just 0)
<* bootstrapSubmit (msgToBSSubmit MsgFillup)