Backend state for saving PIREP as a draft
This commit is contained in:
parent
12a442970e
commit
7179910bc6
@ -16,6 +16,7 @@ class PirepState extends Enum
|
|||||||
public const ACCEPTED = 2;
|
public const ACCEPTED = 2;
|
||||||
public const CANCELLED = 3;
|
public const CANCELLED = 3;
|
||||||
public const DELETED = 4;
|
public const DELETED = 4;
|
||||||
|
public const DRAFT = 5;
|
||||||
|
|
||||||
protected static $labels = [
|
protected static $labels = [
|
||||||
PirepState::REJECTED => 'system.pireps.state.rejected',
|
PirepState::REJECTED => 'system.pireps.state.rejected',
|
||||||
@ -24,5 +25,6 @@ class PirepState extends Enum
|
|||||||
PirepState::ACCEPTED => 'system.pireps.state.accepted',
|
PirepState::ACCEPTED => 'system.pireps.state.accepted',
|
||||||
PirepState::CANCELLED => 'system.pireps.state.cancelled',
|
PirepState::CANCELLED => 'system.pireps.state.cancelled',
|
||||||
PirepState::DELETED => 'system.pireps.state.deleted',
|
PirepState::DELETED => 'system.pireps.state.deleted',
|
||||||
|
PirepState::DRAFT => 'system.pireps.state.draft',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -67,6 +67,7 @@ return [
|
|||||||
'in_progress' => 'In Progress',
|
'in_progress' => 'In Progress',
|
||||||
'cancelled' => 'Cancelled',
|
'cancelled' => 'Cancelled',
|
||||||
'deleted' => 'Deleted',
|
'deleted' => 'Deleted',
|
||||||
|
'draft' => 'Draft',
|
||||||
],
|
],
|
||||||
'status' => [
|
'status' => [
|
||||||
'initialized' => 'Initiated',
|
'initialized' => 'Initiated',
|
||||||
|
Loading…
Reference in New Issue
Block a user