diff --git a/app/Nova/Actions/Sber/SyncWithSystem.php b/app/Nova/Actions/Sber/SyncWithSystem.php index b86780f..63da95b 100644 --- a/app/Nova/Actions/Sber/SyncWithSystem.php +++ b/app/Nova/Actions/Sber/SyncWithSystem.php @@ -86,7 +86,7 @@ class SyncWithSystem extends Action ]); $orderItem->update([ - 'synced_with_system' => $success, + 'synced_with_system' => $success ? true : false, ]); return Action::modal('modal-response', [