@extends('Dashboard.layouts.app') @section('style') @endsection @section('search') @endsection @section('main_content')
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT')

Edit Product

@error('name') {{ $message }} @enderror
{{--
--}} {{-- --}} {{-- --}} {{-- @error('stock') --}} {{-- {{ $message }} --}} {{-- @enderror --}} {{--
--}}
@error('brand_id') {{ $message }} @enderror
@error('category_id') {{ $message }} @enderror
 
@error('sub_category_id') {{ $message }} @enderror
@error('colors') {{ $message }} @enderror
@error('point') {{ $message }} @enderror
{{--
is_redeemable == 1 ? 'checked' : ''}}>
--}} {{--
--}} {{-- --}} {{-- --}} {{--
 
--}} {{-- @error('type_id') --}} {{-- {{ $message }} --}} {{-- @enderror --}} {{--
--}}
@error('detail') {{ $message }} @enderror
@foreach ($product->Photos as $p)
@endforeach
@foreach ($product->variations as $variation)
@method('delete') @csrf
{{--
--}} {{-- --}} {{-- --}} {{--
--}}
@endforeach
@include('Dashboard.Alert.imageModal') @endsection @section('script') {!! JsValidator::formRequest('App\Http\Requests\UpdateProductRequest', '#productStore') !!} {{-- --}} @endsection