This commit is contained in:
nurmuhammet committed 2025-09-10 16:15:21 +05:00
1 parent d157c21883
commit a1521ace7a
3 files changed
+17 -33

No files matched your search

+12 -1
View File
@@ -2,6 +2,7 @@
namespace App\Jobs;
use App\Modules\SberPaymentOrder\Models\SberPaymentOrderItem;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
@@ -25,6 +26,16 @@ public function __construct()
*/
public function handle(): void
{
//
$orderItem = SberPaymentOrderItem::query()
->where('paid', true)
->where('synced_with_system', false)
->whereDate('created_at', '>', '2025-09-05')
->first();
if (! $orderItem) {
return;
}
}
}