@extends(niche_shell_layout()) @section('title', 'تعديل تصنيف مصروف - '.config('app.name')) @section('breadcrumb') الرئيسية › المحاسبة › تصنيفات المصروفات › تعديل @endsection @section('content') @php $expenseCatEditParentOpts = collect($parents ?? collect())->map(fn ($parent) => [ 'value' => $parent->id, 'label' => $parent->code.' - '.$parent->name_ar, ])->all(); $expenseCatEditStatusOpts = [ ['value' => 'active', 'label' => 'نشط'], ['value' => 'inactive', 'label' => 'غير نشط'], ]; @endphp