feat: complete reservation lifecycle

This commit is contained in:
2026-08-04 16:30:11 +01:00
parent 077015f17a
commit e667d05bc1
24 changed files with 1096 additions and 46 deletions

View File

@@ -1,5 +1,6 @@
<?php
use App\Jobs\ExpirePendingReservations;
use App\Jobs\SyncSnipeAssets;
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
@@ -13,3 +14,7 @@ Schedule::job(new SyncSnipeAssets)
->hourly()
->when(fn (): bool => filled(config('services.snipe_it.url')) && filled(config('services.snipe_it.read_token')))
->withoutOverlapping();
Schedule::job(new ExpirePendingReservations)
->everyFiveMinutes()
->withoutOverlapping();