diff --git a/app/Http/Controllers/SimulasiController.php b/app/Http/Controllers/SimulasiController.php index 21bffc53..bf985fb7 100644 --- a/app/Http/Controllers/SimulasiController.php +++ b/app/Http/Controllers/SimulasiController.php @@ -399,14 +399,14 @@ class SimulasiController extends Controller } SimulasiBidMarhun::insert($simulasi_bid_marhun_arr); - // foreach($simulasi_bid_arr as $index) { - // $updategadai = Http::withOptions(['verify' => config('app.api_verify')]) - // ->post(config('app.api_url').'taglel/update',[ - // 'kodcaw'=>$index['caw_id'], - // 'norujukan'=>$index['norujukan'] - // ]) - // ->json(); - // } + foreach($simulasi_bid_arr as $index) { + $updategadai = Http::withOptions(['verify' => config('app.api_verify')]) + ->post(config('app.api_url').'taglel/update',[ + 'kodcaw'=>$index['caw_id'], + 'norujukan'=>$index['norujukan'] + ]) + ->json(); + } }