@extends('admin.layout.master') @section('open-executive', 'open') @section('menu-executive', 'bg-gradient-to-r from-[#53BF6A] to-[#275931] text-white') @section('menu-executive-produk', 'bg-gradient-to-r from-[#53BF6A] to-[#275931] text-white') @section('content') @php $canEditProduct = auth()->user()->can('edit produk'); $isReadOnly = !$canEditProduct; $readonlyClass = 'w-full rounded-md border border-gray-400 bg-gray-100 px-3 py-2.5 text-sm font-semibold text-gray-700 cursor-not-allowed'; $inputClass = 'w-full rounded-md border border-gray-400 bg-white px-3 py-2.5 text-sm font-semibold text-gray-900 focus:border-blue-600 focus:ring-0'; @endphp
Executive › Produk › Edit Produk
@csrf @method('PUT')
{{-- ID Produk --}}
@error('code')

{{ $message }}

@enderror
{{-- Nama Produk --}}
@error('name')

{{ $message }}

@enderror
{{-- Status --}}
@if ($isReadOnly) @endif
@if (!$isReadOnly) @endif
{{-- MODAL BATAL --}} @endsection @section('addJs') @endsection