Add a CANCELLED state for PIREPs

This commit is contained in:
Nabeel Shahzad
2018-01-03 09:49:32 -06:00
parent 2bcfe76289
commit 8744a8b17b
2 changed files with 6 additions and 3 deletions

View File

@@ -9,11 +9,13 @@ class PirepState extends EnumBase {
const IN_PROGRESS = 0;
const PENDING = 1;
const ACCEPTED = 2;
const CANCELLED = 3;
protected static $labels = [
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',
PirepState::CANCELLED => 'system.pireps.state.cancelled',
];
}