fix edit gadaian and penebusan khazanah

This commit is contained in:
Hafifie PKB
2023-12-14 16:34:02 +08:00
parent 892f770173
commit 258a132045
6 changed files with 5542 additions and 152 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ class KhazanahController extends Controller
if($auth_user->roles == 'admin'){
return view('admin.customer_info',compact('cawangan_info','api_url','customer_info','bakilelong','rugilelong','negeri'));
}else{
return view('khazanah.info',compact('cawangan_info','api_url','customer_info','bakilelong','rugilelong','negeri'));
return view('khazanah.' . $cawangan_info['version'] . '.info',compact('cawangan_info','api_url','customer_info','bakilelong','rugilelong','negeri'));
}
}