accept/reject pireps in admin; cleanup and refactoring
This commit is contained in:
@@ -29,9 +29,9 @@ class Rank extends Model
|
||||
protected $casts = [
|
||||
'name' => 'string',
|
||||
'hours' => 'integer',
|
||||
'auto_approve_acars' => 'boolean',
|
||||
'auto_approve_manual' => 'boolean',
|
||||
'auto_promote' => 'boolean',
|
||||
'auto_approve_acars' => 'integer',
|
||||
'auto_approve_manual' => 'integer',
|
||||
'auto_promote' => 'integer',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -81,7 +81,7 @@ class User extends Authenticatable
|
||||
protected $casts
|
||||
= [
|
||||
'flights' => 'integer',
|
||||
'flight_hours' => 'integer',
|
||||
'flight_time' => 'integer',
|
||||
'balance' => 'double',
|
||||
'timezone' => 'integer',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user