|
@@ -116,6 +116,20 @@
|
|
@enderror
|
|
@enderror
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
+ <div class="form-group">
|
|
|
|
+ <label for="allocations">{{__('Allocations')}}</label>
|
|
|
|
+ <input value="{{$product->allocations ?? old('allocations') ?? 0}}"
|
|
|
|
+ id="allocations" name="allocations"
|
|
|
|
+ type="number"
|
|
|
|
+ class="form-control @error('allocations') is-invalid @enderror"
|
|
|
|
+ required="required">
|
|
|
|
+ @error('allocations')
|
|
|
|
+ <div class="invalid-feedback">
|
|
|
|
+ {{ $message }}
|
|
|
|
+ </div>
|
|
|
|
+ @enderror
|
|
|
|
+ </div>
|
|
|
|
+
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
<label for="description">{{__('Description')}} <i data-toggle="popover"
|
|
<label for="description">{{__('Description')}} <i data-toggle="popover"
|
|
data-trigger="hover"
|
|
data-trigger="hover"
|
|
@@ -148,6 +162,34 @@
|
|
@enderror
|
|
@enderror
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
+ <div class="form-group">
|
|
|
|
+ <label for="billing_period">{{__('Billing Period')}} <i
|
|
|
|
+ data-toggle="popover" data-trigger="hover"
|
|
|
|
+ data-content="{{__('Period when the user will be charged for the given price')}}"
|
|
|
|
+ class="fas fa-info-circle"></i></label>
|
|
|
|
+
|
|
|
|
+ <select id="billing_period" style="width:100%" class="custom-select" name="billing_period" required
|
|
|
|
+ autocomplete="off" @error('billing_period') is-invalid @enderror>
|
|
|
|
+ <option value="hourly" @if ($product->billing_period == 'hourly') selected
|
|
|
|
+ @endif>
|
|
|
|
+ {{__('Hourly')}}
|
|
|
|
+ </option>
|
|
|
|
+ <option value="daily" @if ($product->billing_period == 'daily') selected
|
|
|
|
+ @endif>
|
|
|
|
+ {{__('Daily')}}
|
|
|
|
+ </option>
|
|
|
|
+ <option value="monthly" @if ($product->billing_period == 'monthly') selected
|
|
|
|
+ @endif>
|
|
|
|
+ {{__('Monthly')}}
|
|
|
|
+ </option>
|
|
|
|
+ </select>
|
|
|
|
+ @error('billing_period')
|
|
|
|
+ <div class="invalid-feedback">
|
|
|
|
+ {{ $message }}
|
|
|
|
+ </div>
|
|
|
|
+ @enderror
|
|
|
|
+ </div>
|
|
|
|
+
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
<label for="minimum_credits">{{__('Minimum')}} {{ CREDITS_DISPLAY_NAME }} <i
|
|
<label for="minimum_credits">{{__('Minimum')}} {{ CREDITS_DISPLAY_NAME }} <i
|
|
data-toggle="popover" data-trigger="hover"
|
|
data-toggle="popover" data-trigger="hover"
|
|
@@ -205,19 +247,6 @@
|
|
</div>
|
|
</div>
|
|
@enderror
|
|
@enderror
|
|
</div>
|
|
</div>
|
|
- <div class="form-group">
|
|
|
|
- <label for="allocations">{{__('Allocations')}}</label>
|
|
|
|
- <input value="{{$product->allocations ?? old('allocations') ?? 0}}"
|
|
|
|
- id="allocations" name="allocations"
|
|
|
|
- type="number"
|
|
|
|
- class="form-control @error('allocations') is-invalid @enderror"
|
|
|
|
- required="required">
|
|
|
|
- @error('allocations')
|
|
|
|
- <div class="invalid-feedback">
|
|
|
|
- {{ $message }}
|
|
|
|
- </div>
|
|
|
|
- @enderror
|
|
|
|
- </div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|