add PIREP pre-file and ACARS updates; removing caching from ACARS/Pirep/User repositories; adjust PirepState enum values; add additional columns
This commit is contained in:
@@ -5,13 +5,15 @@ namespace App\Models\Enums;
|
||||
|
||||
class PirepState extends EnumBase {
|
||||
|
||||
const REJECTED = -1;
|
||||
const PENDING = 0;
|
||||
const ACCEPTED = 1;
|
||||
const REJECTED = -1;
|
||||
const IN_PROGRESS = 0;
|
||||
const PENDING = 1;
|
||||
const ACCEPTED = 2;
|
||||
|
||||
protected static $labels = [
|
||||
PirepState::REJECTED => 'system.pireps.state.rejected',
|
||||
PirepState::PENDING => 'system.pireps.state.pending',
|
||||
PirepState::ACCEPTED => 'system.pireps.state.accepted',
|
||||
PirepState::REJECTED => 'system.pireps.state.rejected',
|
||||
PirepState::IN_PROGRESS => 'system.pireps.state.in_progress',
|
||||
PirepState::PENDING => 'system.pireps.state.pending',
|
||||
PirepState::ACCEPTED => 'system.pireps.state.accepted',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user