Change a quick sale order before making starts
An unpaid order whose lines have no completed step can be reopened in the cart from the open orders list; saving replaces its lines with current prices and processes, moves the machine work list rows and keeps the pickup number. Keyboard browser tests cover changing and cancelling an order and moving production steps. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -28,6 +28,7 @@ final readonly class OrderLineSummary
|
||||
public ?int $currentStep,
|
||||
public array $currentMaterials,
|
||||
public bool $isMade,
|
||||
public int $productId = 0,
|
||||
) {}
|
||||
|
||||
public function hasProduction(): bool
|
||||
|
||||
@@ -27,6 +27,7 @@ final readonly class OrderSummary
|
||||
public ?int $saleId,
|
||||
public int $totalCents,
|
||||
public array $lines,
|
||||
public bool $canBeChanged = false,
|
||||
) {}
|
||||
|
||||
public function isPaid(): bool
|
||||
|
||||
Reference in New Issue
Block a user