diff --git a/GMERemittance/Model/Reciepient.swift b/GMERemittance/Model/Reciepient.swift index 128c5c6a..99d8e8b2 100644 --- a/GMERemittance/Model/Reciepient.swift +++ b/GMERemittance/Model/Reciepient.swift @@ -19,6 +19,7 @@ struct RecipientModelFields { static let lastName = "LastName" static let country = "Country" static let state = "State" + static let city = "City" static let address = "Address" static let district = "District" static let relation = "Relation" @@ -37,6 +38,7 @@ class ReceipientViewModel { var countryId: String? var stateId: String? var districtId: String? + var city: String? var address: String? var relationId: String? var mobileNumber: String? @@ -118,6 +120,7 @@ extension Recipient: Serializer { dict[RecipientModelFields.middleName] = self.middleName ?? "" dict[RecipientModelFields.state] = self.stateId ?? "" dict[RecipientModelFields.district] = self.districtId ?? "" + dict[RecipientModelFields.city] = self.city ?? "" dict[RecipientModelFields.address] = self.address ?? "" dict[RecipientModelFields.relation] = self.relationId ?? "" dict[RecipientModelFields.mobileNumber] = self.mobileNumber ?? "" diff --git a/GMERemittance/Module/SendMoneyModules/Recipient/AddReciepient/User Interface/Presenter/AddReciepientPresenter.swift b/GMERemittance/Module/SendMoneyModules/Recipient/AddReciepient/User Interface/Presenter/AddReciepientPresenter.swift index 513fca81..1d93231c 100644 --- a/GMERemittance/Module/SendMoneyModules/Recipient/AddReciepient/User Interface/Presenter/AddReciepientPresenter.swift +++ b/GMERemittance/Module/SendMoneyModules/Recipient/AddReciepient/User Interface/Presenter/AddReciepientPresenter.swift @@ -84,6 +84,7 @@ class AddReciepientPresenter { reciepient.countryId = model.countryId reciepient.stateId = model.stateId reciepient.districtId = model.districtId + reciepient.city = model.city reciepient.address = model.address reciepient.relationId = model.relationId reciepient.reasonId = model.reasonId diff --git a/GMERemittance/Module/SendMoneyModules/Recipient/AddReciepient/User Interface/View/AddReciepient.storyboard b/GMERemittance/Module/SendMoneyModules/Recipient/AddReciepient/User Interface/View/AddReciepient.storyboard index 420fd037..6896f671 100644 --- a/GMERemittance/Module/SendMoneyModules/Recipient/AddReciepient/User Interface/View/AddReciepient.storyboard +++ b/GMERemittance/Module/SendMoneyModules/Recipient/AddReciepient/User Interface/View/AddReciepient.storyboard @@ -30,13 +30,13 @@ - + - + - + @@ -54,7 +54,7 @@ - + @@ -176,28 +176,28 @@ -