From 88ef23a283c71d08a2d6125ee2058b88a8542011 Mon Sep 17 00:00:00 2001 From: Amir Date: Wed, 9 Nov 2022 10:38:07 +0800 Subject: [PATCH] Update taglel SimulasiController --- app/Http/Controllers/SimulasiController.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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(); + } }