Major refactoring for PIREP statuses and states to accomodate ACARS/route data
This commit is contained in:
@@ -116,5 +116,10 @@ return [
|
||||
'Validator' => Illuminate\Support\Facades\Validator::class,
|
||||
'View' => Illuminate\Support\Facades\View::class,
|
||||
'Yaml' => Symfony\Component\Yaml\Yaml::class,
|
||||
|
||||
|
||||
# ENUMS
|
||||
'PirepState' => App\Models\Enums\PirepState::class,
|
||||
'PirepStatus' => App\Models\Enums\PirepStatus::class,
|
||||
],
|
||||
];
|
||||
|
||||
@@ -17,32 +17,11 @@ return [
|
||||
'SUSPENDED' => 3,
|
||||
],
|
||||
|
||||
'sources' => [
|
||||
'MANUAL' => 0,
|
||||
'ACARS' => 1,
|
||||
],
|
||||
|
||||
'pirep_status' => [
|
||||
'PENDING' => 0,
|
||||
'ACCEPTED' => 1,
|
||||
'REJECTED' => -1,
|
||||
],
|
||||
|
||||
'fuel_types' => [
|
||||
'100LL' => 0,
|
||||
'JETA' => 1,
|
||||
'MOGAS' => 2,
|
||||
],
|
||||
|
||||
'days' => [
|
||||
'MONDAY' => 1,
|
||||
'TUESDAY' => 2,
|
||||
'WEDNESDAY' => 4,
|
||||
'THURSDAY' => 8,
|
||||
'FRIDAY' => 16,
|
||||
'SATURDAY' => 32,
|
||||
'SUNDAY' => 64
|
||||
],
|
||||
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user