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:
B.Fatih KOZ 2022-08-29 22:39:58 +03:00 committed by GitHub
parent b4d5114ea2
commit 3461672f10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@ class FareService extends Service
}
}
$fare->notes = '';
// $fare->notes = '';
$fare->active = true;
return $fare;

View File

@ -18,7 +18,7 @@ class AirportImporter extends ImportExport
*/
public static $columns = [
'icao' => 'required',
'iata' => 'required',
'iata' => 'nullable',
'name' => 'required',
'location' => 'nullable',
'country' => 'nullable',