{!!Form::model($product,['method'=>'PATCH', 'route'=>['products.update',$product->id], 'id' => 'productForm' ] )!!} {{Form::token()}}

Editando Producto

@if (count($errors)>0)
    @foreach ($errors->all() as $error)
  • {{$error}}
  • @endforeach
@endif
@if (session('status'))
× {{ session('status') }}
@endif
{!! Form::select('category_id', $categoriesList, $product->category_id, ['class'=>'custom-select d-block w-100']) !!}
{!! Form::select('sub_category_id', $subCategoriesList, $product->sub_category_id, ['class'=>'custom-select d-block w-100']) !!}
{!! Form::select('und_med', $measurementsList, $product->und_med, ['class'=>'custom-select d-block w-100']) !!}
{!! Form::select('format_id', $formatsList, $product->format_id, ['class'=>'custom-select d-block w-100']) !!}
{!! Form::select('visualitations', $visualitations, $product->visualitation, ['class'=>'custom-select d-block w-100']) !!}

Imagenes para app:

@foreach ($productImages as $productImage)
×
@endforeach

Imagen de realidad aumentada:

Loading...
@if( count($imagesObj) == 0)
Objeto .: no se han cargado objetos :.
@else @foreach ($imagesObj as $imageObj)
Objeto {{ $imageObj->file_name }} ×
@endforeach @endif {{-- CODIGO COMENTADO
Material {{ ( $imageMtl ) ? $imageMtl->file_name : '.:: no se ha cargado el material :.' }} @if ($imageMtl) × @endif
Textura {{ ( $imagePng ) ? $imagePng->file_name : '.: no se ha cargado la textura :.' }} @if ($imagePng) × @endif
--}}
    @foreach ($characteristics as $characteristic)
  • getPrCa_id($product->id, $characteristic->id) == $characteristic->id ) ? 'checked' : '' }} > {{ $characteristic->file_name }} {{ $characteristic->name }}
  • @endforeach
{!!Form::close()!!}