Let a service unit use stock and machines
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -25,6 +25,11 @@ class ServiceUnitFactory extends Factory
|
||||
];
|
||||
}
|
||||
|
||||
public function usingStock(): static
|
||||
{
|
||||
return $this->state(fn (): array => ['uses_stock' => true]);
|
||||
}
|
||||
|
||||
public function inactive(): static
|
||||
{
|
||||
return $this->state(fn (): array => ['is_active' => false]);
|
||||
|
||||
Reference in New Issue
Block a user