fix: 🚑️ No product available at creation time

This commit is contained in:
IceToast 2022-06-22 12:01:47 +02:00 committed by IceToast
parent 35e54be155
commit dfdba1e26e
No known key found for this signature in database
GPG key ID: 1464353E063A5B97

View file

@ -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>