Adding birthday to osago contract info
This commit is contained in:
parent
ac7791c0aa
commit
c330557604
@ -1158,7 +1158,7 @@
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
CODE_SIGN_ENTITLEMENTS = AutoCat/AutoCat.entitlements;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 122;
|
||||
CURRENT_PROJECT_VERSION = 123;
|
||||
DEVELOPMENT_TEAM = 46DTTB8X4S;
|
||||
INFOPLIST_FILE = AutoCat/Info.plist;
|
||||
INFOPLIST_KEY_CFBundleDisplayName = AutoCat;
|
||||
@ -1186,7 +1186,7 @@
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
CODE_SIGN_ENTITLEMENTS = AutoCat/AutoCat.entitlements;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 122;
|
||||
CURRENT_PROJECT_VERSION = 123;
|
||||
DEVELOPMENT_TEAM = 46DTTB8X4S;
|
||||
INFOPLIST_FILE = AutoCat/Info.plist;
|
||||
INFOPLIST_KEY_CFBundleDisplayName = AutoCat;
|
||||
|
||||
@ -26,7 +26,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
|
||||
|
||||
let config = Realm.Configuration(
|
||||
schemaVersion: 40,
|
||||
schemaVersion: 41,
|
||||
migrationBlock: { migration, oldSchemaVersion in
|
||||
if oldSchemaVersion <= 31 {
|
||||
migration.enumerateObjects(ofType: "Vehicle") { old, new in
|
||||
|
||||
@ -53,6 +53,7 @@ class OsagoController: FormViewController {
|
||||
<<< self.multilineRow(NSLocalizedString("OSAGO contract status", comment: ""), value: osago.status)
|
||||
<<< self.multilineRow(NSLocalizedString("Insurant", comment: ""), value: osago.insurant)
|
||||
<<< self.multilineRow(NSLocalizedString("Owner", comment: ""), value: osago.owner)
|
||||
<<< self.multilineRow(NSLocalizedString("Birthday", comment: ""), value: osago.birthday)
|
||||
<<< self.multilineRow(NSLocalizedString("Vehicle usage region", comment: ""), value: osago.usageRegion)
|
||||
<<< self.multilineRow(NSLocalizedString("Contract restrictions", comment: ""), value: osago.restrictions)
|
||||
<<< self.row(NSLocalizedString("Plate number", comment: ""), value: osago.plateNumber)
|
||||
|
||||
@ -49,6 +49,9 @@
|
||||
/* No comment provided by engineer. */
|
||||
"Beginning" = "Начала";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
"Birthday" = "День рождения";
|
||||
|
||||
/* No comment provided by engineer. */
|
||||
"Brand" = "Марка";
|
||||
|
||||
|
||||
@ -12,6 +12,7 @@ public class Osago: Object, Decodable, Cloneable {
|
||||
@Persisted public var insurant: String?
|
||||
@Persisted public var owner: String?
|
||||
@Persisted public var usageRegion: String?
|
||||
@Persisted public var birthday: String?
|
||||
|
||||
public required init(copy: Osago) {
|
||||
self.date = copy.date
|
||||
|
||||
Loading…
Reference in New Issue
Block a user