@php
    $bmsIsAsset = isset($product) ? (bool) ($product->bms_is_asset ?? false) : false;
@endphp
<input type="hidden" name="has_module_data" value="1">
<div class="row">
  <div class="col-sm-12">
    <div class="form-group">
      <div class="checkbox">
        <label>
          <input type="checkbox" name="bms_is_asset" value="1" {{ $bmsIsAsset ? 'checked' : '' }}>
          <i class="fa fas fa-glass-cheers text-muted"></i> @lang('bms::lang.is_asset_product')
        </label>
      </div>
      <p class="help-block">@lang('bms::lang.is_asset_product_help')</p>
    </div>
  </div>
</div>
