@extends('layouts.app') @section('title', 'Product Edit') @section('custom-css') @endsection @section('content')

{{ __('Product Edit') }}

{{ __('Back to list') }}
@csrf @method('put')
{{ __('pages.%') }}
{{ __('pages.%') }}
{{ __('pages.%') }}
status == 1) checked="" @endif>
status == 0) checked="" @endif>
@php $types = json_decode($product->product_type, true) ?? []; @endphp

{{__('pages.Select Categories')}}

@foreach($product_type as $p_type)
id, $types)) checked @endif @endif name="product_type[]" type="checkbox" value="{{ $p_type->id }}" id="productType{{$p_type->id}}">
@endforeach
@endsection @section('custom-js') @endsection