@@ -29,7 +29,7 @@ public function index(Request $request)
2929 $ filters = $ request ->only (['search ' , 'category ' , 'stock_status ' ]);
3030 $ items = $ this ->itemService ->getAllPaginated (10 , $ filters );
3131
32- return Inertia::render ('admin/Inventory/Item /Index ' , [
32+ return Inertia::render ('admin/Inventory/Items /Index ' , [
3333 'items ' => $ items ,
3434 'filters ' => $ filters
3535 ]);
@@ -42,7 +42,7 @@ public function create()
4242 {
4343 $ suppliers = Supplier::all ();
4444
45- return Inertia::render ('admin/Inventory/Item /Create ' , [
45+ return Inertia::render ('admin/Inventory/Items /Create ' , [
4646 'suppliers ' => $ suppliers
4747 ]);
4848 }
@@ -71,7 +71,7 @@ public function show(int $id)
7171 $ item ->load ('supplier ' );
7272 }
7373
74- return Inertia::render ('admin/Inventory/Item /Show ' , [
74+ return Inertia::render ('admin/Inventory/Items /Show ' , [
7575 'item ' => $ item ,
7676 'supplier ' => $ item ->supplier ?? null
7777 ]);
@@ -90,7 +90,7 @@ public function edit(int $id)
9090
9191 $ suppliers = Supplier::all ();
9292
93- return Inertia::render ('admin/Inventory/Item /Edit ' , [
93+ return Inertia::render ('admin/Inventory/Items /Edit ' , [
9494 'item ' => $ item ,
9595 'suppliers ' => $ suppliers
9696 ]);
0 commit comments