From f2a94c3c49867f6b3732ce907baa15bd439fed81 Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Tue, 9 Sep 2025 16:47:17 +0500 Subject: [PATCH] wip --- app/Nova/Actions/Sber/SyncWithSystem.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/Nova/Actions/Sber/SyncWithSystem.php b/app/Nova/Actions/Sber/SyncWithSystem.php index e277def..cb38f76 100644 --- a/app/Nova/Actions/Sber/SyncWithSystem.php +++ b/app/Nova/Actions/Sber/SyncWithSystem.php @@ -69,11 +69,10 @@ class SyncWithSystem extends Action $success = false; if (is_object($systemResponse)) { + // Usually works here... $success = $systemResponse->errCode == 0; - info('aaa'); } else { $success = $systemResponse['errCode'] == 0; - info('bbb'); } $orderItem->update([ @@ -81,8 +80,8 @@ class SyncWithSystem extends Action ]); return Action::modal('modal-response', [ + 'title' => 'SYSTEM API', 'html' => $success ? "Success" : "Fail", - 'title' => $success ? "Success" : "Fail", ]); }