Fare Service : Return the note, do not force it to an empty string

Airport Importer : Make IATA nullable (as in the model)
pull/1480/head^2
B.Fatih KOZ 2 years ago committed by GitHub
parent b4d5114ea2
commit 3461672f10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save