Refactoring Simbrief fares and aircraft (#1054)
* Refactoring simbrief fares and aircraft * Hide user full name/email * Sort PIREP fields desc; fix cargo counts * Change the sorting * Extra logs * Fix tests * Return fare information through the API * Style fixes * Test fix * Another test fix * More fixes * Set aircraft and fares in prefile * Formatting
This commit is contained in:
@@ -20,12 +20,14 @@ class Fare extends Model
|
||||
public $table = 'fares';
|
||||
|
||||
protected $fillable = [
|
||||
'id',
|
||||
'code',
|
||||
'name',
|
||||
'type',
|
||||
'price',
|
||||
'cost',
|
||||
'capacity',
|
||||
'count',
|
||||
'notes',
|
||||
'active',
|
||||
];
|
||||
@@ -34,6 +36,7 @@ class Fare extends Model
|
||||
'price' => 'float',
|
||||
'cost' => 'float',
|
||||
'capacity' => 'integer',
|
||||
'count' => 'integer',
|
||||
'type' => 'integer',
|
||||
'active' => 'boolean',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user