<div class="row">
  <div class="col-md-12">
    <div class="form-group">
      {!! Form::label('product_id', __('bms::lang.linked_product') . ':*') !!}
      {!! Form::select('product_id', ['' => '— ' . __('bms::lang.select_product') . ' —'] + ($addonProducts ?? []), null, ['class' => 'form-control', 'required']) !!}
      <p class="help-block">@lang('bms::lang.addon_product_help')</p>
    </div>
  </div>
</div>
<div class="row">
  <div class="col-md-6">
    <div class="form-group">
      {!! Form::label('name', __('bms::lang.addon') . ':') !!}
      {!! Form::text('name', null, ['class' => 'form-control', 'placeholder' => __('bms::lang.inherit_from_product')]) !!}
    </div>
  </div>
  <div class="col-md-6">
    <div class="form-group">
      {!! Form::label('name_ar', __('bms::lang.addon') . ' (AR):') !!}
      {!! Form::text('name_ar', null, ['class' => 'form-control', 'dir' => 'rtl', 'placeholder' => __('bms::lang.inherit_from_product')]) !!}
    </div>
  </div>
</div>
<div class="row">
  <div class="col-md-4">
    <div class="form-group">
      {!! Form::label('category', __('bms::lang.category') . ':') !!}
      {!! Form::text('category', null, ['class' => 'form-control', 'placeholder' => 'entertainment, media, decor…']) !!}
    </div>
  </div>
  <div class="col-md-3">
    <div class="form-group">
      {!! Form::label('price', __('bms::lang.price') . ':') !!}
      {!! Form::number('price', null, ['class' => 'form-control', 'min' => 0, 'step' => '0.01', 'placeholder' => __('bms::lang.inherit_from_product')]) !!}
    </div>
  </div>
  <div class="col-md-3">
    <div class="form-group">
      {!! Form::label('unit', __('bms::lang.unit') . ':') !!}
      {!! Form::text('unit', null, ['class' => 'form-control', 'placeholder' => 'show, set, night…']) !!}
    </div>
  </div>
  <div class="col-md-2">
    <div class="form-group">
      <label class="tw-mt-7">
        {!! Form::checkbox('is_active', 1, isset($addon) ? null : true, ['class' => 'input-icheck']) !!}
        @lang('bms::lang.active')
      </label>
    </div>
  </div>
</div>
<div class="form-group">
  {!! Form::label('description', __('bms::lang.description') . ':') !!}
  {!! Form::textarea('description', null, ['class' => 'form-control', 'rows' => 2]) !!}
</div>
