Add setting to automatically remove bid on PIREP accept #200

This commit is contained in:
Nabeel Shahzad
2018-03-15 18:20:07 -05:00
parent 58fbbd98a4
commit ccbc109db2
7 changed files with 120 additions and 39 deletions

View File

@@ -177,6 +177,14 @@ class CreateSettingsTable extends Migration
'description' => 'Only allow aircraft that are at the departure airport',
]);
$this->addSetting('pireps.remove_bid_on_accept', [
'name' => 'Remove bid on accept',
'group' => 'pireps',
'value' => false,
'type' => 'boolean',
'description' => 'When a PIREP is accepted, remove the bid, if it exists',
]);
/**
* PILOTS
*/