@extends('adminlte::page') @section('title', 'Modificar producto') @section('content_header')

Dashboard

@endsection @section('css') @endsection @section('content')

Modificar producto: {{ $product->display_name }} Regresar al inicio

@csrf
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('model')) {{ $errors->first('model') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif
@if ($errors->has('price')) {{ $errors->first('price') }} @endif
@if ($errors->has('cost')) {{ $errors->first('cost') }} @endif
{{-- Categories --}} @if ($errors->has('categories')) {{ $errors->first('brand') }} @endif {{-- Brand --}}
@if ($errors->has('brand')) {{ $errors->first('brand') }} @endif
{{-- Video link --}}
{{-- Datasheet --}}
@if (file_exists('uploads/datasheet/' . $product->datasheet)) Extensiones permitidas: pdf | Max: 2MB @else @endif
@if ($errors->has('datasheet')) {{ $errors->first('datasheet') }} @endif @if ($errors->has('fileInput')) {{ $errors->first('fileInput') }} @endif
datasheet)) checked @endif>
inventory->reserve == 1) checked @endif>
@if ($product->iam_type_id == 1)
@endif @if ($product->iam_type_id == 2)
Si necesitas subir muchos archivos, sube un zip, no se pueden subir carpetas o multiples archivos (max: 12MB). Deja en blanco si no necesitas modificar esto @isset($product->product_file) @endisset
@if ($errors->has('product')) {{ $errors->first('product') }} @endif @endif
{{-- Add images in a product --}} {{-- Mod images in a product --}} @endsection @section('js') @vite('resources/js/products/validationsProducts.js') @vite('resources/js/products/addProductImages.js') @vite('resources/js/products/modProductImages.js') {{-- @vite('resources/js/products/dropProductImages.js') --}} @endsection