Intégration reservations et mock lavage
This commit is contained in:
@@ -7,6 +7,7 @@ use App\Models\Booking;
|
||||
use App\Models\Machine;
|
||||
use App\Models\User;
|
||||
use App\Models\Wash;
|
||||
use App\Support\WashCycleProgress;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
@@ -71,6 +72,7 @@ class WashService
|
||||
'status' => 'pending_start',
|
||||
'program' => $program,
|
||||
'cost' => $cost,
|
||||
'duration_minutes' => WashCycleProgress::estimateDurationMinutes($machine->type),
|
||||
]);
|
||||
|
||||
$result = $this->machineIntegrationService->startCycle($machine, [
|
||||
|
||||
Reference in New Issue
Block a user