fix: unify PKB and KOOP API configuration and remove duplicate TAC customer request
This commit is contained in:
@@ -174,7 +174,7 @@ class TacController extends Controller
|
||||
|
||||
private function getCustomerData($icno,$details = false){
|
||||
$CustomerInfo_PKB = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url') .'/api/customers/' . $icno)->json();
|
||||
$CustomerInfo_KOOPKB = Http::withOptions(['verify' => config('app.api_verify')])->get(config('api.url_koop') .'/api/customers/' . $icno)->json();
|
||||
$CustomerInfo_KOOPKB = $CustomerInfo_PKB;
|
||||
|
||||
if($CustomerInfo_KOOPKB){
|
||||
if($details == true){
|
||||
|
||||
Reference in New Issue
Block a user