Joywork/import/reservation/state/StateBought.php

12 lines
253 B
PHP
Raw Normal View History

2026-05-22 20:21:54 +02:00
<?php
class StateBought extends BaseState
{
protected static $currentState = Reservation::STATUS_BOUGHT;
public function remove()
{
$this->context->setState(Reservation::STATUS_DELETE);
$this->context->saveStatus();
}
}