fix add
This commit is contained in:
@@ -31,7 +31,7 @@ class PelangganController extends Controller
|
||||
$cawangan=Http::get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json();
|
||||
$cawangan_detail=$cawangan[0];
|
||||
|
||||
$customer_info = Http::get(config('api.url') . '/api/customers/'. $id)->json();
|
||||
$customer_info = Http::get(config('api.url') . '/admin/Customers/'. $id)->json();
|
||||
|
||||
return view('pelanggan.detailspelanggan',compact('api_url','cawangan_info','auth_user','customer_info'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user