added split autoserahan and modal biasa
This commit is contained in:
@@ -13,6 +13,7 @@ use App\Events\NotifikasiKelulusan;
|
||||
use App\Events\NotifikasiUbahHapus;
|
||||
use App\Events\NotifikasiAGH;
|
||||
use App\Events\NotifikasiPetiBesi;
|
||||
use App\Events\AutoSerahan;
|
||||
|
||||
use App\User;
|
||||
use App\Cawangan;
|
||||
@@ -4375,6 +4376,8 @@ class KhazanahController extends Controller
|
||||
|
||||
// Step 3: Check if both API v3 and API v2 were successful
|
||||
if ($call_approval_v2['status'] === 'success' && $call_approval_v3['status'] === 'success' && $call_set_approval_v3['status'] === 'success') {
|
||||
event(new AutoSerahan("Operasi",$call_approval_v3['id'],$request->arraysend['kodcaw'],$request->arraysend['teller']));
|
||||
|
||||
return response()->json([
|
||||
'status' => 'success',
|
||||
'message' => 'Approval process completed successfully',
|
||||
|
||||
Reference in New Issue
Block a user