fix another more query

This commit is contained in:
Jagad R R
2025-01-15 22:44:17 +07:00
parent 91e4a51f03
commit f48b74589e
5 changed files with 7 additions and 6 deletions
@@ -18,7 +18,7 @@ class CabangController extends Controller
session()->put('redirect_url', route('admin.cabang.index'));
return view('backend.pages.master.cabang.index', [
'cabang' => Cabang::all()
'cabang' => Cabang::with(['head', 'region', 'cost'])->get()
]);
}