Commit 708098c0b0eb7ea0d06b447efbeccf24e8ff3194
1 parent
b6da6360
-Min value for order product count
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
controllers/OrderProductController.php
@@ -197,6 +197,7 @@ | @@ -197,6 +197,7 @@ | ||
197 | empty($count) ? 1 : $count, | 197 | empty($count) ? 1 : $count, |
198 | [ | 198 | [ |
199 | 'class' => 'form-control count-input', | 199 | 'class' => 'form-control count-input', |
200 | + 'min' => 1, | ||
200 | ] | 201 | ] |
201 | ); | 202 | ); |
202 | $result .= '</div><div class="col-md-1">'; | 203 | $result .= '</div><div class="col-md-1">'; |