fix: 🚑️ No product available at creation time
This commit is contained in:
parent
dfa50141fb
commit
43119e22a5
|
@ -171,20 +171,16 @@
|
||||||
|
|
||||||
<select id="billing_period" style="width:100%" class="custom-select" name="billing_period" required
|
<select id="billing_period" style="width:100%" class="custom-select" name="billing_period" required
|
||||||
autocomplete="off" @error('billing_period') is-invalid @enderror>
|
autocomplete="off" @error('billing_period') is-invalid @enderror>
|
||||||
<option value="hourly" @if ($product->billing_period == 'hourly') selected
|
<option value="hourly" selected>
|
||||||
@endif>
|
|
||||||
{{__('Hourly')}}
|
{{__('Hourly')}}
|
||||||
</option>
|
</option>
|
||||||
<option value="daily" @if ($product->billing_period == 'daily') selected
|
<option value="daily">
|
||||||
@endif>
|
|
||||||
{{__('Daily')}}
|
{{__('Daily')}}
|
||||||
</option>
|
</option>
|
||||||
<option value="weekly" @if ($product->billing_period == 'weekly') selected
|
<option value="weekly">
|
||||||
@endif>
|
|
||||||
{{__('Weekly')}}
|
{{__('Weekly')}}
|
||||||
</option>
|
</option>
|
||||||
<option value="monthly" @if ($product->billing_period == 'monthly') selected
|
<option value="monthly">
|
||||||
@endif>
|
|
||||||
{{__('Monthly')}}
|
{{__('Monthly')}}
|
||||||
</option>
|
</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
Loading…
Reference in a new issue