@extends('layouts.admin') @section('content')
{{ trans('global.edit') }} {{ trans('cruds.product.title_singular') }}
id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf
@if($errors->has('featured_image'))
{{ $errors->first('featured_image') }}
@endif {{ trans('cruds.product.fields.featured_image_helper') }}
@if($errors->has('category'))
{{ $errors->first('category') }}
@endif {{ trans('cruds.product.fields.category_helper') }}
@if($errors->has('name'))
{{ $errors->first('name') }}
@endif {{ trans('cruds.product.fields.name_helper') }}
@if($errors->has('slug'))
{{ $errors->first('slug') }}
@endif {{ trans('cruds.product.fields.slug_helper') }}
@if($errors->has('excerpt'))
{{ $errors->first('excerpt') }}
@endif {{ trans('cruds.product.fields.excerpt_helper') }}
@if($errors->has('description'))
{{ $errors->first('description') }}
@endif {{ trans('cruds.product.fields.description_helper') }}
@if($errors->has('specification'))
{{ $errors->first('specification') }}
@endif {{ trans('cruds.product.fields.specification_helper') }}
@if($errors->has('price_range'))
{{ $errors->first('price_range') }}
@endif {{ trans('cruds.product.fields.price_range_helper') }}
@if($errors->has('weight'))
{{ $errors->first('weight') }}
@endif {{ trans('cruds.product.fields.weight_helper') }}
@if($errors->has('part_number'))
{{ $errors->first('part_number') }}
@endif {{ trans('cruds.product.fields.part_number_helper') }}
@if($errors->has('stock'))
{{ $errors->first('stock') }}
@endif {{ trans('cruds.product.fields.stock_helper') }}
@foreach(App\Models\Product::IS_PREORDER_RADIO as $key => $label)
is_homepage) === (string) $key ? 'checked' : '' }}>
@endforeach @if($errors->has('is_homepage'))
{{ $errors->first('is_homepage') }}
@endif {{ trans('cruds.product.fields.is_homepage_helper') }}
@foreach(App\Models\Product::IS_PREORDER_RADIO as $key => $label)
is_variant) === (string) $key ? 'checked' : '' }}>
@endforeach @if($errors->has('is_variant'))
{{ $errors->first('is_variant') }}
@endif {{ trans('cruds.product.fields.is_variant_helper') }}
@foreach(App\Models\Product::IS_PREORDER_RADIO as $key => $label)
is_preorder) === (string) $key ? 'checked' : '' }} required>
@endforeach @if($errors->has('is_preorder'))
{{ $errors->first('is_preorder') }}
@endif {{ trans('cruds.product.fields.is_preorder_helper') }}
@if($errors->has('preorder_day'))
{{ $errors->first('preorder_day') }}
@endif {{ trans('cruds.product.fields.preorder_day_helper') }}
@if($errors->has('status'))
{{ $errors->first('status') }}
@endif {{ trans('cruds.product.fields.status_helper') }}
{{ trans('global.select_all') }} {{ trans('global.deselect_all') }}
@if($errors->has('resources'))
{{ $errors->first('resources') }}
@endif {{ trans('cruds.product.fields.resource_helper') }}
{{ trans('global.select_all') }} {{ trans('global.deselect_all') }}
@if($errors->has('tags'))
{{ $errors->first('tags') }}
@endif {{ trans('cruds.product.fields.tag_helper') }}
@endsection @section('scripts') @endsection