phpvms/app/Models/Enums/ActiveState.php
Nabeel S aedb1f22b6
Don't allow cancels from certain states (#396)
* Don't allow cancels from certain states

* Unused imports

* Don't reset the state doubly

* Move SetUserActive into listener; code cleanup

* Unused imports

* Add missing files into htaccess

* Move Command contract to correct folder
2019-09-16 13:08:26 -04:00

17 lines
282 B
PHP

<?php
namespace App\Models\Enums;
use App\Contracts\Enum;
class ActiveState extends Enum
{
public const INACTIVE = 0;
public const ACTIVE = 1;
public static $labels = [
self::ACTIVE => 'common.active',
self::INACTIVE => 'common.inactive',
];
}