Fixes (#1481)
Fare Service : Return the note, do not force it to an empty string Airport Importer : Make IATA nullable (as in the model)
This commit is contained in:
parent
b4d5114ea2
commit
3461672f10
@ -169,7 +169,7 @@ class FareService extends Service
|
||||
}
|
||||
}
|
||||
|
||||
$fare->notes = '';
|
||||
// $fare->notes = '';
|
||||
$fare->active = true;
|
||||
|
||||
return $fare;
|
||||
|
@ -18,7 +18,7 @@ class AirportImporter extends ImportExport
|
||||
*/
|
||||
public static $columns = [
|
||||
'icao' => 'required',
|
||||
'iata' => 'required',
|
||||
'iata' => 'nullable',
|
||||
'name' => 'required',
|
||||
'location' => 'nullable',
|
||||
'country' => 'nullable',
|
||||
|
Loading…
Reference in New Issue
Block a user