This commit is contained in:
2025-09-10 16:15:21 +05:00
parent d157c21883
commit a1521ace7a
3 changed files with 17 additions and 33 deletions

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 @@ class SendSberToSystem implements ShouldQueue
*/
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;
}
}
}