@extends('layouts.admin') @section('title', 'Product Edit') @section('page-header')

Product Edit

@endsection {{-- main content --}} @section('content') {{-- button list --}}
Product List

Product Edit

@foreach ($errors->all() as $message)

{{ $message }}

@endforeach
@csrf @method('PUT')
@error('name')

{{ $message }}

@enderror
{{-- product description --}}
medium_description) checked @endif id="medium_description_check">
{{-- end product description --}} {{-- product specification --}}
specification)) checked @endif id="specification_box_check">
@if (!empty($spc_row)) @foreach ($spc_row ?? [] as $key => $row)
@if ($key == 0) @else @endif
@endforeach @else
@endif
{{-- end product specification --}} {{-- order information --}}
order_information)) checked @endif id="order_box_check">
@if (!empty($order_row)) @foreach ($order_row as $key => $row)
@if ($key == 0) @else @endif
@endforeach @else
@endif
{{-- end order information --}} {{-- end product thumbnail --}}

Cancel
{{-- product gallery --}}
Product Gallery
@if ($product->images->isNotEmpty()) @foreach ($product->images as $image)
Product Gallery
@csrf @method('DELETE')
@endforeach @endif
{{-- end product gallery --}} {{-- product manual & warranties --}}

Manual & Warranties

@if ($product->manual_warranties->isNotEmpty()) @foreach ($product->manual_warranties as $manual_warranty)
{{ $manual_warranty->name }}

{{ $manual_warranty->sub_title }}

Download : {{ $manual_warranty->get_size('storage/files/product/document/') }} KB Format : {{ $manual_warranty->file_type }} Modified : {{ $manual_warranty->last_modified('storage/files/product/document/') }}
     
@csrf @method('DELETE')
@endforeach @endif {{-- create form --}}
@csrf
{{-- end product manual & warranties --}} {{-- product catalogue --}}

Product Catalogue

@if ($product->catalogues->isNotEmpty()) @foreach ($product->catalogues as $catalogue)
{{ $catalogue->name }}

{{ $catalogue->sub_title }}

Download : {{ $catalogue->get_size('storage/files/product/document/') }} KB Format : {{ $catalogue->file_type }} Modified : {{ $catalogue->last_modified('storage/files/product/document/') }}
     
@csrf @method('DELETE')
@endforeach @endif
@csrf
@endsection {{-- extra css --}} @push('css') {{-- select js --}} {{-- nice check --}} {{-- summer note --}} @endpush {{-- extra js --}} @push('js') {{-- select js --}} {{-- summer note --}} @endpush {{-- extra js --}} @push('js') @endpush