Add importers in console and admin for flights/aircraft/subfleets and airport #194

This commit is contained in:
Nabeel Shahzad
2018-03-20 19:17:11 -05:00
parent 782121829a
commit b9beb6c804
41 changed files with 1270 additions and 225 deletions

View File

@@ -21,8 +21,8 @@ class Subfleet extends Model
protected $fillable = [
'airline_id',
'name',
'type',
'name',
'fuel_type',
'ground_handling_multiplier',
'cargo_capacity',
@@ -40,8 +40,8 @@ class Subfleet extends Model
];
protected static $rules = [
'type' => 'required|unique',
'name' => 'required',
'type' => 'required',
'ground_handling_multiplier' => 'nullable|numeric',
];