first commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<div class="form-group">
|
||||
<label class="control-label">Quantity <span class="required">*</span></label>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="input-group">
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-default btn-number" disabled="disabled" data-type="minus" data-field="quantity">
|
||||
<span class="glyphicon glyphicon-minus"></span>
|
||||
</button>
|
||||
</span>
|
||||
@if($product_array[0]->ProductAvailableQty == null)
|
||||
<input type="text" name="quantity" class="form-control input-number" value="1" min="1" max="100">
|
||||
@else
|
||||
<input type="text" name="quantity" class="form-control input-number" value="1" min="1" max="{{ $available_qty }}">
|
||||
@endif
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-default btn-number" data-type="plus" data-field="quantity">
|
||||
<span class="glyphicon glyphicon-plus"></span>
|
||||
</button>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
@if($available_qty != null)
|
||||
<p>{{ $available_qty }} piece/s available</p>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user