This commit is contained in:
Mathieu Lagace
2019-09-11 10:13:29 -04:00
parent 133f430445
commit 7f07490bdf
8 changed files with 173 additions and 16 deletions

View File

@@ -27,7 +27,7 @@
<div class="col-md-12">
<div class="form-group">
<label>Quantité</label>
<input class="form-control" name="amount" type="number" min="1" required value="{{$booking->amount}}" max="{{$booking->item->available()}}">
<input class="form-control" name="amount" type="number" min="1" required value="{{$booking->amount}}" max="{{$booking->item->available($event->date_begin,$event->date_end)}}">
<small class="form-text text-muted">Quantité d'item a réserver</small>
</div>
</div>