Backend state for saving PIREP as a draft

This commit is contained in:
Nabeel Shahzad 2018-04-06 17:12:35 -05:00
parent 12a442970e
commit 7179910bc6
2 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,7 @@ class PirepState extends Enum
public const ACCEPTED = 2;
public const CANCELLED = 3;
public const DELETED = 4;
public const DRAFT = 5;
protected static $labels = [
PirepState::REJECTED => 'system.pireps.state.rejected',
@ -24,5 +25,6 @@ class PirepState extends Enum
PirepState::ACCEPTED => 'system.pireps.state.accepted',
PirepState::CANCELLED => 'system.pireps.state.cancelled',
PirepState::DELETED => 'system.pireps.state.deleted',
PirepState::DRAFT => 'system.pireps.state.draft',
];
}

View File

@ -67,6 +67,7 @@ return [
'in_progress' => 'In Progress',
'cancelled' => 'Cancelled',
'deleted' => 'Deleted',
'draft' => 'Draft',
],
'status' => [
'initialized' => 'Initiated',