@include('components.input', [
'id' => 'duration_' . $id,
'name' => 'pricingOptions[' . $id . '][duration]',
'label' => 'Duration in Months',
'type' => 'number',
'mandatory' => true,
'readonly' => false,
'min' => 1,
'max' => 12,
'class' => 'unsignedNumber',
'value' => isset($duration) ? $duration : '',
'placeholder' => 'Enter Month Duration',
'otherattr' => '',
])
@include('components.input', [
'id' => 'price_' . $id,
'name' => 'pricingOptions[' . $id . '][price]',
'label' => 'Price Per Month',
'type' => 'number',
'mandatory' => true,
'readonly' => false,
'min' => 0,
'value' => isset($price) ? $price : '',
'placeholder' => 'Enter 1 Month Price',
'otherattr' => '',
])
@include('components.textarea', [
'id' => 'details_' . $id,
'name' => 'pricingOptions[' . $id . '][details]',
'label' => 'Pricing Details',
'class' => 'summernote',
'mandatory' => true,
'readonly' => false,
'min' => 0,
'value' => isset($details) ? $details : '',
'placeholder' => 'Enter Subscription Details',
'otherattr' => '',
])