@extends('layouts.admin-simple') @section('title', 'Edit Indirect Good') @section('breadcrumb') @endsection @section('page-title')

Edit Indirect Good

Update indirect good information

@endsection @section('content')
Edit Indirect Good Information
{{ $good->ig_code }}
@csrf @method('PUT')
Basic Information
Auto-generated and cannot be changed.
@php $categoryOptions = collect($categories)->map(fn($cat) => ['value' => $cat->id, 'text' => $cat->category_name])->prepend(['value' => '', 'text' => 'Select Category'])->toArray(); @endphp
@error('ig_description')
{{ $message }}
@enderror
@php $unitOptions = $units->toArray(); array_unshift($unitOptions, ['value' => '', 'text' => 'Select Unit']); @endphp
Stock Level Information
@error('min_stock_level')
{{ $message }}
@enderror
@error('max_stock_level')
{{ $message }}
@enderror
@error('reorder_point')
{{ $message }}
@enderror
Additional Information
@error('notes')
{{ $message }}
@enderror
cancel Cancel
@endsection