where('paid', true) ->where('synced_with_system', false) ->whereDate('created_at', '>', '2025-09-05') ->first(); if (! $orderItem) { return; } $result = syncWithAzatAPI($orderItem); if (isset($result['error'])) { Log::channel('sber_job')->error(json_encode([ 'error' => $result['error'], 'orderItem' => $orderItem, ])); } } }