check redirect trolley but existcarts null so need to charge it back to home

This commit is contained in:
Hafifie PKB
2025-01-26 11:14:09 +08:00
parent 2bcf74e8dc
commit 64b1976906
@@ -50,6 +50,10 @@ class BayaranController extends Controller
/* Doesn't Have Carts. First Timer */
$request->validated();
if(isset($request->redirect_trolley)){
return redirect()->route('buffer');
}
$arraybayar = $this->setUpahTawarruq($request->getPembiayaanFromNorujukan());
$list_pkb = array_filter(array_map(function ($x){