From 4e5d6d4d3d8667cad1c2af747d8122a24220f3a7 Mon Sep 17 00:00:00 2001 From: nurafrinaalimi16 Date: Sun, 18 May 2025 09:59:10 +0800 Subject: [PATCH] fix sag hilang --- app/Http/Controllers/KhazanahController.php | 2 +- resources/views/customers/v2/info.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/KhazanahController.php b/app/Http/Controllers/KhazanahController.php index 77c04aa7..8ea453ec 100644 --- a/app/Http/Controllers/KhazanahController.php +++ b/app/Http/Controllers/KhazanahController.php @@ -2852,7 +2852,7 @@ class KhazanahController extends Controller event(new NotifikasiAGH($auth_user['cawangan'],'Tak boleh generate dah kerana sudah digenerate dah.','error',$auth_user['name'])); $daftar = 400; }else{ - $daftarpolis = Http::withOptions(['verify' => config('app.api_verify')])->post(config('api.url').'/api/polis/create/',[ + $daftarpolis = Http::withOptions(['verify' => config('app.api_verify')])->post(config('api.url').'/api/polis/create',[ 'kodcaw' =>$auth_user['cawangan'], 'norujukan' => $request->norujukanhidden, diff --git a/resources/views/customers/v2/info.blade.php b/resources/views/customers/v2/info.blade.php index b91e22a5..a8430f8d 100644 --- a/resources/views/customers/v2/info.blade.php +++ b/resources/views/customers/v2/info.blade.php @@ -765,7 +765,7 @@ }).then(function(){ $.ajax({ method:'put', - url: api_url + '/api/polis/put/', + url: api_url + '/api/polis/put', data: { 'kodcaw': "{{ $cawangan_info['kodcaw'] }}", 'norujukan': norujukan,