Update laravel framework from 9 to 11, removed some old packages

This commit is contained in:
2024-07-04 15:03:11 +10:00
parent 1b4504cee2
commit 59dc825bf7
101 changed files with 1656 additions and 4062 deletions

View File

@@ -85,7 +85,7 @@ class ProductController extends Controller
if (! $o->exists && $request->name)
$o = Product::where('name',$request->name)->firstOrNew();
return view('product.details')
return view('theme.backend.adminlte.product.details')
->with('breadcrumb',collect(['Products'=>url('a/product')]))
->with('o',$o);
}
@@ -131,7 +131,8 @@ class ProductController extends Controller
],
]);
return redirect()->back()
return redirect()
->back()
->with('success','Product saved');
}
@@ -143,6 +144,6 @@ class ProductController extends Controller
*/
public function home()
{
return view('product.home');
return view('theme.backend.adminlte.product.home');
}
}