Make quick sale products on machines as orders paid when ready
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -12,6 +12,11 @@ class FakeQuickSaleHours implements QuickSaleHours
|
||||
|
||||
public bool $fails = false;
|
||||
|
||||
public function bookForOrder(int $userId, DateTimeImmutable $day, int $workTypeId, int $quarters, int $pickupNumber): bool
|
||||
{
|
||||
return $this->book($userId, $day, $workTypeId, $quarters, 0);
|
||||
}
|
||||
|
||||
public function book(int $sellerId, DateTimeImmutable $day, int $workTypeId, int $quarters, int $saleId): bool
|
||||
{
|
||||
if ($this->fails) {
|
||||
|
||||
Reference in New Issue
Block a user