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;
|
$fare->active = true;
|
||||||
|
|
||||||
return $fare;
|
return $fare;
|
||||||
|
@ -18,7 +18,7 @@ class AirportImporter extends ImportExport
|
|||||||
*/
|
*/
|
||||||
public static $columns = [
|
public static $columns = [
|
||||||
'icao' => 'required',
|
'icao' => 'required',
|
||||||
'iata' => 'required',
|
'iata' => 'nullable',
|
||||||
'name' => 'required',
|
'name' => 'required',
|
||||||
'location' => 'nullable',
|
'location' => 'nullable',
|
||||||
'country' => 'nullable',
|
'country' => 'nullable',
|
||||||
|
Loading…
Reference in New Issue
Block a user