Fix PIC routes to match resource name

This commit is contained in:
Arya Dwi Putra
2025-12-02 18:23:12 +07:00
parent 2413849f13
commit 765454e01b

View File

@@ -14,7 +14,7 @@ class PersonInChargeController extends Controller
{
return view('masters.simple', [
'title' => 'Penanggung Jawab',
'routeName' => 'people-in-charge',
'routeName' => 'person-in-charge', // samakan dengan resource route
'items' => PersonInCharge::orderBy('name')->get(),
'fields' => [
['name' => 'name', 'label' => 'Nama', 'required' => true],