Add fares and set prices on flights #125

This commit is contained in:
Nabeel Shahzad
2018-01-07 10:38:16 -06:00
parent 7e45291b27
commit 0495ff27cb
15 changed files with 285 additions and 102 deletions

View File

@@ -30,9 +30,10 @@ class CreateSettingsTable extends Migration
$this->addCounterGroups([
'general' => 1,
'flights' => 20,
'bids' => 40,
'pireps' => 60,
'pilots' => 80,
'finances' => 40,
'bids' => 60,
'pireps' => 80,
'pilots' => 100,
]);
/**
@@ -140,6 +141,15 @@ class CreateSettingsTable extends Migration
'type' => 'boolean',
'description' => 'Whether or not someone can bid on multiple flights',
],
/**
* FINANCES
*/
/**
* PIREPS
*/
[
'id' => $this->formatSettingId('pireps.duplicate_check_time'),
'order' => $this->getNextOrderNumber('pireps'),
@@ -160,6 +170,11 @@ class CreateSettingsTable extends Migration
'type' => 'boolean',
'description' => 'Hide any cancelled PIREPs in the front-end',
],
/**
* PILOTS
*/
[
'id' => $this->formatSettingId('pilots.id_length'),
'order' => $this->getNextOrderNumber('pilots'),