phpvms/app/Models/Enums/PirepSource.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
301 B
PHP

<?php
namespace App\Models\Enums;
use App\Contracts\Enum;
class PirepSource extends Enum
{
public const MANUAL = 0;
public const ACARS = 1;
protected static $labels = [
self::MANUAL => 'pireps.source_types.manual',
self::ACARS => 'pireps.source_types.acars',
];
}