Add a CANCELLED state for PIREPs
This commit is contained in:
@@ -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',
|
||||
];
|
||||
}
|
||||
|
||||
@@ -13,10 +13,11 @@ return [
|
||||
|
||||
'pireps' => [
|
||||
'state' => [
|
||||
'accepted' => 'Accepted',
|
||||
'pending' => 'Pending',
|
||||
'rejected' => 'Rejected',
|
||||
'accepted' => 'Accepted',
|
||||
'pending' => 'Pending',
|
||||
'rejected' => 'Rejected',
|
||||
'in_progress' => 'In Progress',
|
||||
'cancelled' => 'Cancelled',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user