Manos Chorianopoulos

redesign CouponBarcodeViewController for SMCoupons

...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> 7 <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key>
8 <dict> 8 <dict>
9 <key>orderHint</key> 9 <key>orderHint</key>
10 - <integer>0</integer> 10 + <integer>1</integer>
11 </dict> 11 </dict>
12 </dict> 12 </dict>
13 </dict> 13 </dict>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> 7 <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key>
8 <dict> 8 <dict>
9 <key>orderHint</key> 9 <key>orderHint</key>
10 - <integer>1</integer> 10 + <integer>0</integer>
11 </dict> 11 </dict>
12 </dict> 12 </dict>
13 </dict> 13 </dict>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
6 // 6 //
7 7
8 import UIKit 8 import UIKit
9 -// import RSBarcodes_Swift 9 +import RSBarcodes_Swift
10 import AVFoundation 10 import AVFoundation
11 // import SwiftEventBus 11 // import SwiftEventBus
12 12
...@@ -34,6 +34,7 @@ import AVFoundation ...@@ -34,6 +34,7 @@ import AVFoundation
34 @IBOutlet weak var barcodeLabelHeight: NSLayoutConstraint! 34 @IBOutlet weak var barcodeLabelHeight: NSLayoutConstraint!
35 @IBOutlet weak var showBarcodeButton: UIButton! 35 @IBOutlet weak var showBarcodeButton: UIButton!
36 @IBOutlet weak var expirationLabel: UILabel! 36 @IBOutlet weak var expirationLabel: UILabel!
37 + @IBOutlet weak var expirationLabelHeight: NSLayoutConstraint!
37 @IBOutlet weak var redeemButton: UIButton! 38 @IBOutlet weak var redeemButton: UIButton!
38 @IBOutlet weak var redeemButtonHeight: NSLayoutConstraint! 39 @IBOutlet weak var redeemButtonHeight: NSLayoutConstraint!
39 @IBOutlet weak var redeemButtonTopSpace: NSLayoutConstraint! 40 @IBOutlet weak var redeemButtonTopSpace: NSLayoutConstraint!
...@@ -53,6 +54,15 @@ import AVFoundation ...@@ -53,6 +54,15 @@ import AVFoundation
53 @IBOutlet weak var showBarcodeButtonHeight: NSLayoutConstraint! 54 @IBOutlet weak var showBarcodeButtonHeight: NSLayoutConstraint!
54 @IBOutlet weak var showBarcodeButtonTopSpace: NSLayoutConstraint! 55 @IBOutlet weak var showBarcodeButtonTopSpace: NSLayoutConstraint!
55 @IBOutlet weak var couponCodeLabelTopSpace: NSLayoutConstraint! 56 @IBOutlet weak var couponCodeLabelTopSpace: NSLayoutConstraint!
57 + @IBOutlet weak var discountView: UIView!
58 + @IBOutlet weak var discountLabel: UILabel!
59 + @IBOutlet weak var topExpirationView: UIView!
60 + @IBOutlet weak var topExpirationViewHeight: NSLayoutConstraint!
61 + @IBOutlet weak var topExpirationViewTopSpace: NSLayoutConstraint!
62 + @IBOutlet weak var topExpirationLabel: UILabel!
63 + @IBOutlet weak var barcodeTitleLabel: UILabel!
64 + @IBOutlet weak var barcodeTitleLabelHeight: NSLayoutConstraint!
65 + @IBOutlet weak var barcodeTitleLabelTopSpace: NSLayoutConstraint!
56 66
57 let uiscreen: CGRect = UIScreen.main.bounds 67 let uiscreen: CGRect = UIScreen.main.bounds
58 68
...@@ -66,6 +76,7 @@ import AVFoundation ...@@ -66,6 +76,7 @@ import AVFoundation
66 public var coupon: swiftApi.CouponItemModel? 76 public var coupon: swiftApi.CouponItemModel?
67 public var isFromWallet: Bool? = false 77 public var isFromWallet: Bool? = false
68 public var isMarket: Bool? = false 78 public var isMarket: Bool? = false
79 + public var isSMCoupon: Bool? = false
69 80
70 public override func viewDidLoad() { 81 public override func viewDidLoad() {
71 super.viewDidLoad() 82 super.viewDidLoad()
...@@ -119,6 +130,58 @@ import AVFoundation ...@@ -119,6 +130,58 @@ import AVFoundation
119 130
120 couponImageHeight.constant = 222 // 255 //230 // 253 // self.uiscreen.height * 0.25 131 couponImageHeight.constant = 222 // 255 //230 // 253 // self.uiscreen.height * 0.25
121 132
133 + discountView.backgroundColor = UIColor(rgb: 0xB8E0EF)
134 + discountView.layer.cornerRadius = 16.0
135 + discountView.layer.maskedCorners = [ .layerMinXMinYCorner, .layerMaxXMaxYCorner] // Top left, bottom right corner radius
136 + discountLabel.font = UIFont(name: "BTCosmo-Bold", size: 27)
137 + discountLabel.textColor = UIColor(rgb: 0x004B87)
138 +
139 + var discount = ""
140 + if (couponSetData?.discount_type == "value") {
141 + discount = ("-" + (coupon?.discount ?? "") + "€")
142 + } else if (couponSetData?.discount_type == "percentage") {
143 + discount = ("-" + (coupon?.discount ?? "") + "%")
144 + } else if (couponSetData?.discount_type == "plus_one") {
145 + discount = "1+1"
146 + } else {
147 + discount = ("-" + (coupon?.discount ?? "") + "€")
148 + }
149 + discountLabel.text = discount
150 +
151 + topExpirationView.backgroundColor = UIColor(rgb: 0xB8E0EF)
152 + topExpirationView.layer.cornerRadius = 13.0
153 + topExpirationLabel.text = "Ισχύει έως " + (coupon?.expiration ?? "")
154 + topExpirationLabel.font = UIFont(name: "PeridotPE-Bold", size: 13)
155 + topExpirationLabel.textColor = UIColor(rgb: 0x004B87)
156 + topExpirationLabel.frame.size.width = topExpirationLabel.intrinsicContentSize.width
157 +
158 + barcodeTitleLabel.text = "barcode κουπονιού"
159 + barcodeTitleLabel.font = UIFont(name: "PeridotPE-Bold", size: 16)
160 + barcodeTitleLabel.textColor = UIColor(rgb: 0x212121)
161 +
162 + if (isSMCoupon == true) {
163 + discountView.isHidden = false
164 + topExpirationView.isHidden = false
165 + topExpirationViewHeight.constant = topExpirationLabel.intrinsicContentSize.height + 8
166 + topExpirationViewTopSpace.constant = CGFloat(8)
167 + expirationLabel.isHidden = true
168 + expirationLabel.isHidden = true
169 + expirationLabelHeight.constant = CGFloat(0)
170 + barcodeTitleLabel.isHidden = false
171 + barcodeTitleLabelHeight.constant = barcodeTitleLabel.intrinsicContentSize.height
172 + barcodeTitleLabelTopSpace.constant = CGFloat(20)
173 + } else {
174 + discountView.isHidden = true
175 + topExpirationView.isHidden = true
176 + topExpirationViewHeight.constant = CGFloat(0)
177 + topExpirationViewTopSpace.constant = CGFloat(0)
178 + expirationLabel.isHidden = false
179 + expirationLabelHeight.constant = expirationLabel.intrinsicContentSize.height
180 + barcodeTitleLabel.isHidden = true
181 + barcodeTitleLabelHeight.constant = CGFloat(0)
182 + barcodeTitleLabelTopSpace.constant = CGFloat(0)
183 + }
184 +
122 if (isMarket == true) { 185 if (isMarket == true) {
123 couponImage.contentMode = .scaleAspectFit 186 couponImage.contentMode = .scaleAspectFit
124 187
...@@ -207,14 +270,65 @@ import AVFoundation ...@@ -207,14 +270,65 @@ import AVFoundation
207 couponViewTopSpace.constant = CGFloat(20) 270 couponViewTopSpace.constant = CGFloat(20)
208 271
209 redeemButton.isHidden = false 272 redeemButton.isHidden = false
210 - redeemButtonHeight.constant = CGFloat(50) 273 + redeemButtonHeight.constant = CGFloat(55)
211 // redeemButtonTopSpace.constant = CGFloat(20) 274 // redeemButtonTopSpace.constant = CGFloat(20)
212 } 275 }
213 276
214 let barcodeString = constructBarcode() ?? "" 277 let barcodeString = constructBarcode() ?? ""
215 barcodeLabel.text = barcodeString 278 barcodeLabel.text = barcodeString
216 279
217 - // Uncomment if Barcode Section is active again 280 + if (isSMCoupon == true) {
281 + // Uncomment if Barcode Section is active again
282 + if let barcodeUIImage = RSUnifiedCodeGenerator.shared.generateCode(barcodeString, machineReadableCodeObjectType: AVMetadataObject.ObjectType.ean13.rawValue, targetSize: CGSize(width: self.uiscreen.width * 0.8, height: self.uiscreen.height * 0.1)) {
283 + barcodeImage.image = barcodeUIImage
284 +
285 + barcodeImageHeight.constant = self.uiscreen.height * 0.1
286 +
287 +// showBarcodeButton.isHidden = false
288 +// showBarcodeButtonHeight.constant = 50
289 +// showBarcodeButtonTopSpace.constant = 10
290 +
291 + } else {
292 + barcodeImageHeight.constant = 0
293 +
294 +// showBarcodeButton.isHidden = true
295 +// showBarcodeButtonHeight.constant = 0
296 +// showBarcodeButtonTopSpace.constant = 0
297 + }
298 +
299 + // === Hide barcodeLabel
300 + barcodeLabel.isHidden = true
301 + barcodeLabelHeight.constant = CGFloat(0)
302 + barcodeLabelTopSpace.constant = CGFloat(0) // 10
303 + // === Hide Barcode Button
304 + showBarcodeButton.isHidden = true
305 + showBarcodeButtonHeight.constant = 0
306 + showBarcodeButtonTopSpace.constant = 0
307 + // ===
308 + border2TopSpace.constant = CGFloat(10)
309 +
310 + } else {
311 + // === Hide Barcode Section
312 + barcodeImage.isHidden = true
313 + barcodeImageHeight.constant = CGFloat(0)
314 + barcodeLabel.isHidden = true
315 + barcodeLabelHeight.constant = CGFloat(0)
316 +
317 + borderViewHeight.constant = CGFloat(0)
318 + borderView2Height.constant = CGFloat(0)
319 +
320 + border1TopSpace.constant = CGFloat(0) // 20
321 + barcodeImageTopSpace.constant = CGFloat(0) // 10
322 + barcodeLabelTopSpace.constant = CGFloat(0) // 10
323 + border2TopSpace.constant = CGFloat(0) // 15
324 +
325 + showBarcodeButton.isHidden = true
326 + showBarcodeButtonHeight.constant = 0
327 + showBarcodeButtonTopSpace.constant = 0
328 + // ===
329 + }
330 +
331 +// // Uncomment if Barcode Section is active again
218 // if let barcodeUIImage = RSUnifiedCodeGenerator.shared.generateCode(barcodeString, machineReadableCodeObjectType: AVMetadataObject.ObjectType.ean13.rawValue, targetSize: CGSize(width: self.uiscreen.width * 0.8, height: self.uiscreen.height * 0.1)) { 332 // if let barcodeUIImage = RSUnifiedCodeGenerator.shared.generateCode(barcodeString, machineReadableCodeObjectType: AVMetadataObject.ObjectType.ean13.rawValue, targetSize: CGSize(width: self.uiscreen.width * 0.8, height: self.uiscreen.height * 0.1)) {
219 // barcodeImage.image = barcodeUIImage 333 // barcodeImage.image = barcodeUIImage
220 // 334 //
...@@ -232,24 +346,24 @@ import AVFoundation ...@@ -232,24 +346,24 @@ import AVFoundation
232 // showBarcodeButtonTopSpace.constant = 0 346 // showBarcodeButtonTopSpace.constant = 0
233 // } 347 // }
234 348
235 - // === Hide Barcode Section 349 +// // === Hide Barcode Section
236 - barcodeImage.isHidden = true 350 +// barcodeImage.isHidden = true
237 - barcodeImageHeight.constant = CGFloat(0) 351 +// barcodeImageHeight.constant = CGFloat(0)
238 - barcodeLabel.isHidden = true 352 +// barcodeLabel.isHidden = true
239 - barcodeLabelHeight.constant = CGFloat(0) 353 +// barcodeLabelHeight.constant = CGFloat(0)
240 - 354 +//
241 - borderViewHeight.constant = CGFloat(0) 355 +// borderViewHeight.constant = CGFloat(0)
242 - borderView2Height.constant = CGFloat(0) 356 +// borderView2Height.constant = CGFloat(0)
243 - 357 +//
244 - border1TopSpace.constant = CGFloat(0) // 20 358 +// border1TopSpace.constant = CGFloat(0) // 20
245 - barcodeImageTopSpace.constant = CGFloat(0) // 10 359 +// barcodeImageTopSpace.constant = CGFloat(0) // 10
246 - barcodeLabelTopSpace.constant = CGFloat(0) // 10 360 +// barcodeLabelTopSpace.constant = CGFloat(0) // 10
247 - border2TopSpace.constant = CGFloat(0) // 15 361 +// border2TopSpace.constant = CGFloat(0) // 15
248 - 362 +//
249 - showBarcodeButton.isHidden = true 363 +// showBarcodeButton.isHidden = true
250 - showBarcodeButtonHeight.constant = 0 364 +// showBarcodeButtonHeight.constant = 0
251 - showBarcodeButtonTopSpace.constant = 0 365 +// showBarcodeButtonTopSpace.constant = 0
252 - // === 366 +// // ===
253 367
254 showBarcodeButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 16) 368 showBarcodeButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 16)
255 showBarcodeButton.setTitle("Εμφάνιση barcode", for: .normal) 369 showBarcodeButton.setTitle("Εμφάνιση barcode", for: .normal)
...@@ -263,31 +377,64 @@ import AVFoundation ...@@ -263,31 +377,64 @@ import AVFoundation
263 377
264 expirationLabel.text = "Το κουπόνι ισχύει έως " + (coupon?.expiration ?? "") 378 expirationLabel.text = "Το κουπόνι ισχύει έως " + (coupon?.expiration ?? "")
265 379
266 - redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17) 380 + if (isSMCoupon == true) {
267 - redeemButton.setTitle("Δώρισέ το", for: .normal) 381 + redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17)
268 - redeemButton.setTitleColor(.white, for: .normal) 382 + redeemButton.setTitle("Βρες το στα supermarket", for: .normal)
269 - redeemButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00) 383 + redeemButton.setTitleColor(.white, for: .normal)
270 - redeemButton.layer.cornerRadius = 16.0 384 + redeemButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00)
271 - redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 50) 385 + redeemButton.layer.cornerRadius = 16.0
272 - redeemButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25) 386 + redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: 260, height: 55)
273 - // Fix width for ipad 387 + // redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 55)
274 -// if UIDevice.current.userInterfaceIdiom == .pad { 388 + // redeemButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25)
275 -// // iPad 389 + // Fix width for ipad
276 -// redeemButton.widthAnchor.constraint(equalToConstant: 250).isActive = true 390 + // if UIDevice.current.userInterfaceIdiom == .pad {
277 -// } else { 391 + // // iPad
278 -// // not iPad (iPhone, mac, tv, carPlay, unspecified) 392 + // redeemButton.widthAnchor.constraint(equalToConstant: 250).isActive = true
279 -// redeemButton.widthAnchor.constraint(equalTo: view.widthAnchor, multiplier: 0.6).isActive = true 393 + // } else {
280 -// } 394 + // // not iPad (iPhone, mac, tv, carPlay, unspecified)
395 + // redeemButton.widthAnchor.constraint(equalTo: view.widthAnchor, multiplier: 0.6).isActive = true
396 + // }
281 397
282 - mapButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 17) 398 + mapButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 17)
283 - mapButton.setTitle("Δες τα καταστήματα", for: .normal) 399 + mapButton.setTitle("Δώρισέ το", for: .normal)
284 - mapButton.setTitleColor(UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00), for: .normal) 400 + mapButton.setTitleColor(UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00), for: .normal)
285 - mapButton.layer.cornerRadius = 15.0 401 + mapButton.layer.cornerRadius = 15.0
286 - mapButton.frame = CGRect(x: 0.0, y: 0.0, width: mapButton.intrinsicContentSize.width, height: 50) 402 + mapButton.frame = CGRect(x: 0.0, y: 0.0, width: 260, height: 55)
287 - mapButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25) 403 + // mapButton.frame = CGRect(x: 0.0, y: 0.0, width: mapButton.intrinsicContentSize.width, height: 55)
288 - mapButton.backgroundColor = .clear 404 + // mapButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25)
289 - mapButton.layer.borderWidth = 2 405 + mapButton.backgroundColor = .clear
290 - mapButton.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor 406 + mapButton.layer.borderWidth = 2
407 + mapButton.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor
408 +
409 + } else {
410 + redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17)
411 + redeemButton.setTitle("Δώρισέ το", for: .normal)
412 + redeemButton.setTitleColor(.white, for: .normal)
413 + redeemButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00)
414 + redeemButton.layer.cornerRadius = 16.0
415 + redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: 260, height: 55)
416 + // redeemButton.frame = CGRect(x: 0.0, y: 0.0, width: redeemButton.intrinsicContentSize.width, height: 55)
417 + // redeemButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25)
418 + // Fix width for ipad
419 + // if UIDevice.current.userInterfaceIdiom == .pad {
420 + // // iPad
421 + // redeemButton.widthAnchor.constraint(equalToConstant: 250).isActive = true
422 + // } else {
423 + // // not iPad (iPhone, mac, tv, carPlay, unspecified)
424 + // redeemButton.widthAnchor.constraint(equalTo: view.widthAnchor, multiplier: 0.6).isActive = true
425 + // }
426 +
427 + mapButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 17)
428 + mapButton.setTitle("Δες τα καταστήματα", for: .normal)
429 + mapButton.setTitleColor(UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00), for: .normal)
430 + mapButton.layer.cornerRadius = 15.0
431 + mapButton.frame = CGRect(x: 0.0, y: 0.0, width: 260, height: 55)
432 + // mapButton.frame = CGRect(x: 0.0, y: 0.0, width: mapButton.intrinsicContentSize.width, height: 55)
433 + // mapButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25)
434 + mapButton.backgroundColor = .clear
435 + mapButton.layer.borderWidth = 2
436 + mapButton.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor
437 + }
291 438
292 439
293 // mapButton.isHidden = true 440 // mapButton.isHidden = true
...@@ -366,11 +513,11 @@ import AVFoundation ...@@ -366,11 +513,11 @@ import AVFoundation
366 termsTextView.isSelectable = true 513 termsTextView.isSelectable = true
367 termsTextView.dataDetectorTypes = [.link] 514 termsTextView.dataDetectorTypes = [.link]
368 515
369 - // Uncomment if Barcode Section is active again
370 toggleTerms() 516 toggleTerms()
371 - if (isMarket == false) { 517 + // Uncomment if Barcode Section is active again
372 - toggleBarcode() 518 +// if (isMarket == false) {
373 - } 519 +// toggleBarcode()
520 +// }
374 521
375 // Logs 522 // Logs
376 print("Coupon: " + (coupon?.coupon ?? "")) 523 print("Coupon: " + (coupon?.coupon ?? ""))
...@@ -492,16 +639,21 @@ import AVFoundation ...@@ -492,16 +639,21 @@ import AVFoundation
492 // MARK: - Actions 639 // MARK: - Actions
493 640
494 @IBAction func redeemButtomAction(_ sender: Any) { 641 @IBAction func redeemButtomAction(_ sender: Any) {
495 - let couponSetData: swiftApi.CouponSetItemModel? = self.coupon?.couponset_data 642 + if (isSMCoupon == true) {
496 - let couponName = couponSetData?.name ?? "" 643 + // TODO: Open popup
497 - 644 +
498 - swiftApi().logTrackersEvent("click", ("ShareCoupon:" + couponName)) 645 + } else {
499 - 646 + let couponSetData: swiftApi.CouponSetItemModel? = self.coupon?.couponset_data
500 - let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) 647 + let couponName = couponSetData?.name ?? ""
501 - let vc = storyboard.instantiateViewController(withIdentifier: "ShareViewController") as! SwiftWarplyFramework.ShareViewController 648 +
502 - vc.coupon = self.coupon 649 + swiftApi().logTrackersEvent("click", ("ShareCoupon:" + couponName))
503 - vc.isFromWallet = self.isFromWallet 650 +
504 - self.navigationController?.pushViewController(vc, animated: true) 651 + let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
652 + let vc = storyboard.instantiateViewController(withIdentifier: "ShareViewController") as! SwiftWarplyFramework.ShareViewController
653 + vc.coupon = self.coupon
654 + vc.isFromWallet = self.isFromWallet
655 + self.navigationController?.pushViewController(vc, animated: true)
656 + }
505 } 657 }
506 658
507 @IBAction func showBarcodeAction(_ sender: Any) { 659 @IBAction func showBarcodeAction(_ sender: Any) {
...@@ -515,16 +667,30 @@ import AVFoundation ...@@ -515,16 +667,30 @@ import AVFoundation
515 } 667 }
516 668
517 @IBAction func mapButtonAction(_ sender: Any) { 669 @IBAction func mapButtonAction(_ sender: Any) {
518 - swiftApi().logTrackersEvent("click", "SeeShops") 670 + if (isSMCoupon == true) {
519 - 671 + let couponSetData: swiftApi.CouponSetItemModel? = self.coupon?.couponset_data
520 - let vc = SwiftWarplyFramework.MapsViewController(nibName: "MapsViewController", bundle: Bundle(for: MyEmptyClass.self)) 672 + let couponName = couponSetData?.name ?? ""
521 - if (isMarket == true) { 673 +
522 - vc.isMarket = true 674 + swiftApi().logTrackersEvent("click", ("ShareCoupon:" + couponName))
675 +
676 + let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
677 + let vc = storyboard.instantiateViewController(withIdentifier: "ShareViewController") as! SwiftWarplyFramework.ShareViewController
678 + vc.coupon = self.coupon
679 + vc.isFromWallet = self.isFromWallet
680 + self.navigationController?.pushViewController(vc, animated: true)
681 +
523 } else { 682 } else {
524 - vc.coupon = coupon 683 + swiftApi().logTrackersEvent("click", "SeeShops")
684 +
685 + let vc = SwiftWarplyFramework.MapsViewController(nibName: "MapsViewController", bundle: Bundle(for: MyEmptyClass.self))
686 + if (isMarket == true) {
687 + vc.isMarket = true
688 + } else {
689 + vc.coupon = coupon
690 + }
691 +
692 + self.navigationController?.pushViewController(vc, animated: true)
525 } 693 }
526 -
527 - self.navigationController?.pushViewController(vc, animated: true)
528 694
529 // if (mapBtnVisible == true) { 695 // if (mapBtnVisible == true) {
530 // swiftApi().logTrackersEvent("click", "SeeShops") 696 // swiftApi().logTrackersEvent("click", "SeeShops")
......
...@@ -5461,20 +5461,57 @@ ...@@ -5461,20 +5461,57 @@
5461 <constraint firstAttribute="height" constant="200" id="kL0-u7-VI9"/> 5461 <constraint firstAttribute="height" constant="200" id="kL0-u7-VI9"/>
5462 </constraints> 5462 </constraints>
5463 </imageView> 5463 </imageView>
5464 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="w9v-K9-Ca1">
5465 + <rect key="frame" x="17" y="19" width="108" height="95"/>
5466 + <subviews>
5467 + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="-0.00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hmI-GY-9Ou">
5468 + <rect key="frame" x="9" y="31.5" width="90" height="32.5"/>
5469 + <fontDescription key="fontDescription" type="boldSystem" pointSize="27"/>
5470 + <color key="textColor" red="0.0" green="0.29411764705882354" blue="0.52941176470588236" alpha="1" colorSpace="calibratedRGB"/>
5471 + <nil key="highlightedColor"/>
5472 + </label>
5473 + </subviews>
5474 + <color key="backgroundColor" red="0.72156862745098038" green="0.8784313725490196" blue="0.93725490196078431" alpha="1" colorSpace="calibratedRGB"/>
5475 + <constraints>
5476 + <constraint firstItem="hmI-GY-9Ou" firstAttribute="centerX" secondItem="w9v-K9-Ca1" secondAttribute="centerX" id="aAK-hk-a5S"/>
5477 + <constraint firstItem="hmI-GY-9Ou" firstAttribute="centerY" secondItem="w9v-K9-Ca1" secondAttribute="centerY" id="bC4-HH-cth"/>
5478 + <constraint firstAttribute="height" constant="95" id="cPX-3I-Uwr"/>
5479 + <constraint firstAttribute="width" constant="108" id="yd0-Fg-sGs"/>
5480 + </constraints>
5481 + </view>
5464 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Πάρε δωρεάν μηνιαία πακέτα με πάνες στα supermarket Σκλαβενίτης!" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Xz4-EE-EzJ"> 5482 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Πάρε δωρεάν μηνιαία πακέτα με πάνες στα supermarket Σκλαβενίτης!" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Xz4-EE-EzJ">
5465 <rect key="frame" x="20" y="230" width="374" height="39.5"/> 5483 <rect key="frame" x="20" y="230" width="374" height="39.5"/>
5466 <fontDescription key="fontDescription" name="BTCosmo-Bold" family="BTCosmo" pointSize="17"/> 5484 <fontDescription key="fontDescription" name="BTCosmo-Bold" family="BTCosmo" pointSize="17"/>
5467 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> 5485 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
5468 <nil key="highlightedColor"/> 5486 <nil key="highlightedColor"/>
5469 </label> 5487 </label>
5488 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="0Jl-GR-rPb">
5489 + <rect key="frame" x="122.5" y="277.5" width="169" height="24"/>
5490 + <subviews>
5491 + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Ισχύει έως 05/10/2024" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kf4-Ij-bMw">
5492 + <rect key="frame" x="15" y="4" width="139" height="16"/>
5493 + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="13"/>
5494 + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
5495 + <nil key="highlightedColor"/>
5496 + </label>
5497 + </subviews>
5498 + <color key="backgroundColor" red="0.72156862745098038" green="0.8784313725490196" blue="0.93725490196078431" alpha="1" colorSpace="calibratedRGB"/>
5499 + <constraints>
5500 + <constraint firstAttribute="trailing" secondItem="kf4-Ij-bMw" secondAttribute="trailing" constant="15" id="2hp-kR-SeO"/>
5501 + <constraint firstAttribute="height" constant="24" id="Bic-Qc-jMw"/>
5502 + <constraint firstItem="kf4-Ij-bMw" firstAttribute="leading" secondItem="0Jl-GR-rPb" secondAttribute="leading" constant="15" id="DTB-ru-fmw"/>
5503 + <constraint firstAttribute="bottom" secondItem="kf4-Ij-bMw" secondAttribute="bottom" constant="4" id="ROR-1I-OtQ"/>
5504 + <constraint firstItem="kf4-Ij-bMw" firstAttribute="top" secondItem="0Jl-GR-rPb" secondAttribute="top" constant="4" id="l6A-rT-gey"/>
5505 + </constraints>
5506 + </view>
5470 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Χρησιμοποίησε τον παρακάτω κωδικό και πάρε δωρεάν πακέτο πάνες Pampers αποκλειστικά στα Supermarket Σκλαβενίτης" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mri-Wl-spg"> 5507 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Χρησιμοποίησε τον παρακάτω κωδικό και πάρε δωρεάν πακέτο πάνες Pampers αποκλειστικά στα Supermarket Σκλαβενίτης" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mri-Wl-spg">
5471 - <rect key="frame" x="20" y="284.5" width="374" height="59.5"/> 5508 + <rect key="frame" x="20" y="318.5" width="374" height="59.5"/>
5472 <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/> 5509 <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
5473 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> 5510 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
5474 <nil key="highlightedColor"/> 5511 <nil key="highlightedColor"/>
5475 </label> 5512 </label>
5476 <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" textAlignment="center" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tzW-b9-Rbx" customClass="UnselectableTappableTextView" customModule="SwiftWarplyFramework"> 5513 <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" textAlignment="center" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tzW-b9-Rbx" customClass="UnselectableTappableTextView" customModule="SwiftWarplyFramework">
5477 - <rect key="frame" x="20" y="354" width="374" height="0.0"/> 5514 + <rect key="frame" x="20" y="388" width="374" height="0.0"/>
5478 <color key="backgroundColor" systemColor="systemBackgroundColor"/> 5515 <color key="backgroundColor" systemColor="systemBackgroundColor"/>
5479 <constraints> 5516 <constraints>
5480 <constraint firstAttribute="height" id="7ch-2U-9oE"/> 5517 <constraint firstAttribute="height" id="7ch-2U-9oE"/>
...@@ -5484,7 +5521,7 @@ ...@@ -5484,7 +5521,7 @@
5484 <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/> 5521 <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
5485 </textView> 5522 </textView>
5486 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Κωδικός Κουπονιού" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Sg1-QU-FY1"> 5523 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Κωδικός Κουπονιού" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Sg1-QU-FY1">
5487 - <rect key="frame" x="20" y="389" width="374" height="20"/> 5524 + <rect key="frame" x="20" y="423" width="374" height="20"/>
5488 <constraints> 5525 <constraints>
5489 <constraint firstAttribute="height" constant="20" id="mKs-LB-L7G"/> 5526 <constraint firstAttribute="height" constant="20" id="mKs-LB-L7G"/>
5490 </constraints> 5527 </constraints>
...@@ -5493,7 +5530,7 @@ ...@@ -5493,7 +5530,7 @@
5493 <nil key="highlightedColor"/> 5530 <nil key="highlightedColor"/>
5494 </label> 5531 </label>
5495 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Zdf-1r-FdJ" userLabel="Coupon View"> 5532 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Zdf-1r-FdJ" userLabel="Coupon View">
5496 - <rect key="frame" x="20" y="429" width="374" height="55"/> 5533 + <rect key="frame" x="20" y="463" width="374" height="55"/>
5497 <subviews> 5534 <subviews>
5498 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BJS-kk-CBZ" customClass="CopyableLabel" customModule="SwiftWarplyFramework" customModuleProvider="target"> 5535 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BJS-kk-CBZ" customClass="CopyableLabel" customModule="SwiftWarplyFramework" customModuleProvider="target">
5499 <rect key="frame" x="20" y="12.5" width="334" height="30"/> 5536 <rect key="frame" x="20" y="12.5" width="334" height="30"/>
...@@ -5510,21 +5547,30 @@ ...@@ -5510,21 +5547,30 @@
5510 <constraint firstItem="BJS-kk-CBZ" firstAttribute="leading" secondItem="Zdf-1r-FdJ" secondAttribute="leading" constant="20" id="dxa-Dc-OXI"/> 5547 <constraint firstItem="BJS-kk-CBZ" firstAttribute="leading" secondItem="Zdf-1r-FdJ" secondAttribute="leading" constant="20" id="dxa-Dc-OXI"/>
5511 </constraints> 5548 </constraints>
5512 </view> 5549 </view>
5550 + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="barcode κουπονιού" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mrR-ID-3V1">
5551 + <rect key="frame" x="20" y="538" width="374" height="20"/>
5552 + <constraints>
5553 + <constraint firstAttribute="height" constant="20" id="1ff-He-qSg"/>
5554 + </constraints>
5555 + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="16"/>
5556 + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
5557 + <nil key="highlightedColor"/>
5558 + </label>
5513 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jrM-7n-fSw" userLabel="Border View"> 5559 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jrM-7n-fSw" userLabel="Border View">
5514 - <rect key="frame" x="20" y="504" width="374" height="1"/> 5560 + <rect key="frame" x="20" y="578" width="374" height="1"/>
5515 <color key="backgroundColor" red="0.90196078431372551" green="0.90196078431372551" blue="0.90196078431372551" alpha="1" colorSpace="calibratedRGB"/> 5561 <color key="backgroundColor" red="0.90196078431372551" green="0.90196078431372551" blue="0.90196078431372551" alpha="1" colorSpace="calibratedRGB"/>
5516 <constraints> 5562 <constraints>
5517 <constraint firstAttribute="height" constant="1" id="eF3-7T-hMu"/> 5563 <constraint firstAttribute="height" constant="1" id="eF3-7T-hMu"/>
5518 </constraints> 5564 </constraints>
5519 </view> 5565 </view>
5520 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="huh-zh-82C"> 5566 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="huh-zh-82C">
5521 - <rect key="frame" x="30" y="515" width="354" height="110"/> 5567 + <rect key="frame" x="30" y="589" width="354" height="110"/>
5522 <constraints> 5568 <constraints>
5523 <constraint firstAttribute="height" constant="110" id="LJq-uV-eb8"/> 5569 <constraint firstAttribute="height" constant="110" id="LJq-uV-eb8"/>
5524 </constraints> 5570 </constraints>
5525 </imageView> 5571 </imageView>
5526 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="123456789101112" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="EKv-Mx-6Yv"> 5572 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="123456789101112" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="EKv-Mx-6Yv">
5527 - <rect key="frame" x="20" y="635" width="374" height="26.5"/> 5573 + <rect key="frame" x="20" y="709" width="374" height="26.5"/>
5528 <constraints> 5574 <constraints>
5529 <constraint firstAttribute="height" constant="26.5" id="LfJ-bC-nLk"/> 5575 <constraint firstAttribute="height" constant="26.5" id="LfJ-bC-nLk"/>
5530 </constraints> 5576 </constraints>
...@@ -5533,14 +5579,14 @@ ...@@ -5533,14 +5579,14 @@
5533 <nil key="highlightedColor"/> 5579 <nil key="highlightedColor"/>
5534 </label> 5580 </label>
5535 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="6rV-2m-QMZ" userLabel="Border 2 View"> 5581 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="6rV-2m-QMZ" userLabel="Border 2 View">
5536 - <rect key="frame" x="20" y="676.5" width="374" height="1"/> 5582 + <rect key="frame" x="20" y="750.5" width="374" height="1"/>
5537 <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/> 5583 <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/>
5538 <constraints> 5584 <constraints>
5539 <constraint firstAttribute="height" constant="1" id="DVl-3B-zqo"/> 5585 <constraint firstAttribute="height" constant="1" id="DVl-3B-zqo"/>
5540 </constraints> 5586 </constraints>
5541 </view> 5587 </view>
5542 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Zw5-Wj-WD5"> 5588 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Zw5-Wj-WD5">
5543 - <rect key="frame" x="103.5" y="687.5" width="207" height="50"/> 5589 + <rect key="frame" x="103.5" y="761.5" width="207" height="50"/>
5544 <constraints> 5590 <constraints>
5545 <constraint firstAttribute="height" constant="50" id="ZSP-NX-0a7"/> 5591 <constraint firstAttribute="height" constant="50" id="ZSP-NX-0a7"/>
5546 </constraints> 5592 </constraints>
...@@ -5555,15 +5601,19 @@ ...@@ -5555,15 +5601,19 @@
5555 </connections> 5601 </connections>
5556 </button> 5602 </button>
5557 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Το κουπόνι ισχύει έως 05/12/2022" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="UhC-Lj-tfN"> 5603 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Το κουπόνι ισχύει έως 05/12/2022" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="UhC-Lj-tfN">
5558 - <rect key="frame" x="20" y="767.5" width="374" height="20"/> 5604 + <rect key="frame" x="20" y="841.5" width="374" height="20"/>
5605 + <constraints>
5606 + <constraint firstAttribute="height" constant="20" id="d8H-UJ-FgS"/>
5607 + </constraints>
5559 <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/> 5608 <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
5560 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> 5609 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
5561 <nil key="highlightedColor"/> 5610 <nil key="highlightedColor"/>
5562 </label> 5611 </label>
5563 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8cR-Rc-YMJ"> 5612 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8cR-Rc-YMJ">
5564 - <rect key="frame" x="167.5" y="807.5" width="79" height="50"/> 5613 + <rect key="frame" x="77" y="881.5" width="260" height="55"/>
5565 <constraints> 5614 <constraints>
5566 - <constraint firstAttribute="height" constant="50" id="ccg-NP-FIH"/> 5615 + <constraint firstAttribute="width" constant="260" id="PKJ-YS-q5c"/>
5616 + <constraint firstAttribute="height" constant="55" id="ccg-NP-FIH"/>
5567 </constraints> 5617 </constraints>
5568 <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="16"/> 5618 <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="16"/>
5569 <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/> 5619 <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
...@@ -5575,9 +5625,10 @@ ...@@ -5575,9 +5625,10 @@
5575 </connections> 5625 </connections>
5576 </button> 5626 </button>
5577 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="W5f-1T-iW6"> 5627 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="W5f-1T-iW6">
5578 - <rect key="frame" x="128" y="867.5" width="158" height="50"/> 5628 + <rect key="frame" x="77" y="946.5" width="260" height="55"/>
5579 <constraints> 5629 <constraints>
5580 - <constraint firstAttribute="height" constant="50" id="3pq-y5-f66"/> 5630 + <constraint firstAttribute="height" constant="55" id="3pq-y5-f66"/>
5631 + <constraint firstAttribute="width" constant="260" id="doI-TX-TlX"/>
5581 </constraints> 5632 </constraints>
5582 <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="16"/> 5633 <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="16"/>
5583 <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/> 5634 <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
...@@ -5589,7 +5640,7 @@ ...@@ -5589,7 +5640,7 @@
5589 </connections> 5640 </connections>
5590 </button> 5641 </button>
5591 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8UD-WL-JB7"> 5642 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8UD-WL-JB7">
5592 - <rect key="frame" x="103.5" y="937.5" width="207" height="40"/> 5643 + <rect key="frame" x="103.5" y="1021.5" width="207" height="40"/>
5593 <constraints> 5644 <constraints>
5594 <constraint firstAttribute="height" constant="40" id="xdq-YS-AL4"/> 5645 <constraint firstAttribute="height" constant="40" id="xdq-YS-AL4"/>
5595 </constraints> 5646 </constraints>
...@@ -5604,7 +5655,7 @@ ...@@ -5604,7 +5655,7 @@
5604 </connections> 5655 </connections>
5605 </button> 5656 </button>
5606 <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" textAlignment="center" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xjX-HZ-MpD" customClass="UnselectableTappableTextView" customModule="SwiftWarplyFramework"> 5657 <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" textAlignment="center" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xjX-HZ-MpD" customClass="UnselectableTappableTextView" customModule="SwiftWarplyFramework">
5607 - <rect key="frame" x="20" y="977.5" width="374" height="0.0"/> 5658 + <rect key="frame" x="20" y="1061.5" width="374" height="0.0"/>
5608 <color key="backgroundColor" systemColor="systemBackgroundColor"/> 5659 <color key="backgroundColor" systemColor="systemBackgroundColor"/>
5609 <constraints> 5660 <constraints>
5610 <constraint firstAttribute="height" id="3GU-tg-S3t"/> 5661 <constraint firstAttribute="height" id="3GU-tg-S3t"/>
...@@ -5621,17 +5672,20 @@ ...@@ -5621,17 +5672,20 @@
5621 <constraint firstItem="8UD-WL-JB7" firstAttribute="top" secondItem="W5f-1T-iW6" secondAttribute="bottom" constant="20" id="2qi-nv-Q66"/> 5672 <constraint firstItem="8UD-WL-JB7" firstAttribute="top" secondItem="W5f-1T-iW6" secondAttribute="bottom" constant="20" id="2qi-nv-Q66"/>
5622 <constraint firstAttribute="trailing" secondItem="Xz4-EE-EzJ" secondAttribute="trailing" constant="20" id="5Sx-lW-x5H"/> 5673 <constraint firstAttribute="trailing" secondItem="Xz4-EE-EzJ" secondAttribute="trailing" constant="20" id="5Sx-lW-x5H"/>
5623 <constraint firstItem="Zw5-Wj-WD5" firstAttribute="width" secondItem="1ec-eH-fkX" secondAttribute="width" multiplier="0.5" id="5nW-K9-uVa"/> 5674 <constraint firstItem="Zw5-Wj-WD5" firstAttribute="width" secondItem="1ec-eH-fkX" secondAttribute="width" multiplier="0.5" id="5nW-K9-uVa"/>
5675 + <constraint firstItem="0Jl-GR-rPb" firstAttribute="top" secondItem="Xz4-EE-EzJ" secondAttribute="bottom" constant="8" id="60A-on-R8q"/>
5676 + <constraint firstItem="w9v-K9-Ca1" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="17" id="6aj-It-XIe"/>
5624 <constraint firstItem="Zw5-Wj-WD5" firstAttribute="top" secondItem="6rV-2m-QMZ" secondAttribute="bottom" constant="10" id="7VE-aB-ZD3"/> 5677 <constraint firstItem="Zw5-Wj-WD5" firstAttribute="top" secondItem="6rV-2m-QMZ" secondAttribute="bottom" constant="10" id="7VE-aB-ZD3"/>
5625 <constraint firstItem="8cR-Rc-YMJ" firstAttribute="centerX" secondItem="1ec-eH-fkX" secondAttribute="centerX" id="8hP-dm-rWP"/> 5678 <constraint firstItem="8cR-Rc-YMJ" firstAttribute="centerX" secondItem="1ec-eH-fkX" secondAttribute="centerX" id="8hP-dm-rWP"/>
5626 <constraint firstItem="8UD-WL-JB7" firstAttribute="width" secondItem="1ec-eH-fkX" secondAttribute="width" multiplier="0.5" id="9Gy-bi-NXO"/> 5679 <constraint firstItem="8UD-WL-JB7" firstAttribute="width" secondItem="1ec-eH-fkX" secondAttribute="width" multiplier="0.5" id="9Gy-bi-NXO"/>
5627 - <constraint firstItem="mri-Wl-spg" firstAttribute="top" secondItem="Xz4-EE-EzJ" secondAttribute="bottom" constant="15" id="9W8-fX-IzR"/> 5680 + <constraint firstItem="mri-Wl-spg" firstAttribute="top" secondItem="0Jl-GR-rPb" secondAttribute="bottom" constant="17" id="9W8-fX-IzR"/>
5628 <constraint firstItem="xjX-HZ-MpD" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="AIW-Kf-tkQ"/> 5681 <constraint firstItem="xjX-HZ-MpD" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="AIW-Kf-tkQ"/>
5629 <constraint firstItem="Zw5-Wj-WD5" firstAttribute="centerX" secondItem="1ec-eH-fkX" secondAttribute="centerX" id="BgT-3L-aZo"/> 5682 <constraint firstItem="Zw5-Wj-WD5" firstAttribute="centerX" secondItem="1ec-eH-fkX" secondAttribute="centerX" id="BgT-3L-aZo"/>
5630 <constraint firstItem="tzW-b9-Rbx" firstAttribute="top" secondItem="mri-Wl-spg" secondAttribute="bottom" constant="10" id="Cep-Md-KJT"/> 5683 <constraint firstItem="tzW-b9-Rbx" firstAttribute="top" secondItem="mri-Wl-spg" secondAttribute="bottom" constant="10" id="Cep-Md-KJT"/>
5631 - <constraint firstItem="jrM-7n-fSw" firstAttribute="top" secondItem="Zdf-1r-FdJ" secondAttribute="bottom" constant="20" id="G5W-a3-pag"/> 5684 + <constraint firstItem="jrM-7n-fSw" firstAttribute="top" secondItem="mrR-ID-3V1" secondAttribute="bottom" constant="20" id="G5W-a3-pag"/>
5632 <constraint firstItem="huh-zh-82C" firstAttribute="top" secondItem="jrM-7n-fSw" secondAttribute="bottom" constant="10" id="GQF-H5-SZp"/> 5685 <constraint firstItem="huh-zh-82C" firstAttribute="top" secondItem="jrM-7n-fSw" secondAttribute="bottom" constant="10" id="GQF-H5-SZp"/>
5633 <constraint firstItem="iiM-5P-m5s" firstAttribute="top" secondItem="1ec-eH-fkX" secondAttribute="top" id="H9I-TB-xig"/> 5686 <constraint firstItem="iiM-5P-m5s" firstAttribute="top" secondItem="1ec-eH-fkX" secondAttribute="top" id="H9I-TB-xig"/>
5634 <constraint firstItem="8cR-Rc-YMJ" firstAttribute="top" secondItem="UhC-Lj-tfN" secondAttribute="bottom" constant="20" id="I87-km-KEb"/> 5687 <constraint firstItem="8cR-Rc-YMJ" firstAttribute="top" secondItem="UhC-Lj-tfN" secondAttribute="bottom" constant="20" id="I87-km-KEb"/>
5688 + <constraint firstItem="0Jl-GR-rPb" firstAttribute="centerX" secondItem="1ec-eH-fkX" secondAttribute="centerX" id="JJy-En-3SD"/>
5635 <constraint firstItem="Zdf-1r-FdJ" firstAttribute="top" secondItem="Sg1-QU-FY1" secondAttribute="bottom" constant="20" id="KZi-Jl-Yyz"/> 5689 <constraint firstItem="Zdf-1r-FdJ" firstAttribute="top" secondItem="Sg1-QU-FY1" secondAttribute="bottom" constant="20" id="KZi-Jl-Yyz"/>
5636 <constraint firstItem="UhC-Lj-tfN" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="MSg-iF-tt9"/> 5690 <constraint firstItem="UhC-Lj-tfN" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="MSg-iF-tt9"/>
5637 <constraint firstAttribute="trailing" secondItem="6rV-2m-QMZ" secondAttribute="trailing" constant="20" id="NGe-PV-pQl"/> 5691 <constraint firstAttribute="trailing" secondItem="6rV-2m-QMZ" secondAttribute="trailing" constant="20" id="NGe-PV-pQl"/>
...@@ -5642,6 +5696,7 @@ ...@@ -5642,6 +5696,7 @@
5642 <constraint firstItem="W5f-1T-iW6" firstAttribute="top" secondItem="8cR-Rc-YMJ" secondAttribute="bottom" constant="10" id="Rbe-XQ-CIj"/> 5696 <constraint firstItem="W5f-1T-iW6" firstAttribute="top" secondItem="8cR-Rc-YMJ" secondAttribute="bottom" constant="10" id="Rbe-XQ-CIj"/>
5643 <constraint firstAttribute="trailing" secondItem="jrM-7n-fSw" secondAttribute="trailing" constant="20" id="ReY-xR-F8V"/> 5697 <constraint firstAttribute="trailing" secondItem="jrM-7n-fSw" secondAttribute="trailing" constant="20" id="ReY-xR-F8V"/>
5644 <constraint firstItem="Xz4-EE-EzJ" firstAttribute="top" secondItem="iiM-5P-m5s" secondAttribute="bottom" constant="30" id="Ryr-v8-THU"/> 5698 <constraint firstItem="Xz4-EE-EzJ" firstAttribute="top" secondItem="iiM-5P-m5s" secondAttribute="bottom" constant="30" id="Ryr-v8-THU"/>
5699 + <constraint firstItem="w9v-K9-Ca1" firstAttribute="top" secondItem="1ec-eH-fkX" secondAttribute="top" constant="19" id="WMg-WG-w5X"/>
5645 <constraint firstItem="Sg1-QU-FY1" firstAttribute="top" secondItem="tzW-b9-Rbx" secondAttribute="bottom" constant="35" id="WWh-BA-7qP"/> 5700 <constraint firstItem="Sg1-QU-FY1" firstAttribute="top" secondItem="tzW-b9-Rbx" secondAttribute="bottom" constant="35" id="WWh-BA-7qP"/>
5646 <constraint firstItem="xjX-HZ-MpD" firstAttribute="top" secondItem="8UD-WL-JB7" secondAttribute="bottom" id="XFI-ij-KkC"/> 5701 <constraint firstItem="xjX-HZ-MpD" firstAttribute="top" secondItem="8UD-WL-JB7" secondAttribute="bottom" id="XFI-ij-KkC"/>
5647 <constraint firstItem="mri-Wl-spg" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="YLo-Lg-Lda"/> 5702 <constraint firstItem="mri-Wl-spg" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="YLo-Lg-Lda"/>
...@@ -5650,8 +5705,10 @@ ...@@ -5650,8 +5705,10 @@
5650 <constraint firstAttribute="trailing" secondItem="Zdf-1r-FdJ" secondAttribute="trailing" constant="20" id="c0p-Op-6VI"/> 5705 <constraint firstAttribute="trailing" secondItem="Zdf-1r-FdJ" secondAttribute="trailing" constant="20" id="c0p-Op-6VI"/>
5651 <constraint firstItem="iiM-5P-m5s" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" id="e6i-V3-Csq"/> 5706 <constraint firstItem="iiM-5P-m5s" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" id="e6i-V3-Csq"/>
5652 <constraint firstItem="8UD-WL-JB7" firstAttribute="centerX" secondItem="1ec-eH-fkX" secondAttribute="centerX" id="eFM-ex-Dye"/> 5707 <constraint firstItem="8UD-WL-JB7" firstAttribute="centerX" secondItem="1ec-eH-fkX" secondAttribute="centerX" id="eFM-ex-Dye"/>
5708 + <constraint firstItem="mrR-ID-3V1" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="eXK-mb-JRq"/>
5653 <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="8UD-WL-JB7" secondAttribute="bottom" constant="30" id="emI-WB-sXK"/> 5709 <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="8UD-WL-JB7" secondAttribute="bottom" constant="30" id="emI-WB-sXK"/>
5654 <constraint firstItem="Zdf-1r-FdJ" firstAttribute="centerX" secondItem="1ec-eH-fkX" secondAttribute="centerX" id="gRP-ik-WC8"/> 5710 <constraint firstItem="Zdf-1r-FdJ" firstAttribute="centerX" secondItem="1ec-eH-fkX" secondAttribute="centerX" id="gRP-ik-WC8"/>
5711 + <constraint firstItem="mrR-ID-3V1" firstAttribute="top" secondItem="Zdf-1r-FdJ" secondAttribute="bottom" constant="20" id="h9l-Jc-168"/>
5655 <constraint firstItem="6rV-2m-QMZ" firstAttribute="top" secondItem="EKv-Mx-6Yv" secondAttribute="bottom" constant="15" id="hL4-rX-9aa"/> 5712 <constraint firstItem="6rV-2m-QMZ" firstAttribute="top" secondItem="EKv-Mx-6Yv" secondAttribute="bottom" constant="15" id="hL4-rX-9aa"/>
5656 <constraint firstItem="Sg1-QU-FY1" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="hUh-Q7-uqi"/> 5713 <constraint firstItem="Sg1-QU-FY1" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="hUh-Q7-uqi"/>
5657 <constraint firstItem="EKv-Mx-6Yv" firstAttribute="top" secondItem="huh-zh-82C" secondAttribute="bottom" constant="10" id="hZO-Qg-tda"/> 5714 <constraint firstItem="EKv-Mx-6Yv" firstAttribute="top" secondItem="huh-zh-82C" secondAttribute="bottom" constant="10" id="hZO-Qg-tda"/>
...@@ -5660,6 +5717,7 @@ ...@@ -5660,6 +5717,7 @@
5660 <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="xjX-HZ-MpD" secondAttribute="bottom" constant="30" id="kLr-ZV-vCo"/> 5717 <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="xjX-HZ-MpD" secondAttribute="bottom" constant="30" id="kLr-ZV-vCo"/>
5661 <constraint firstAttribute="trailing" secondItem="UhC-Lj-tfN" secondAttribute="trailing" constant="20" id="lM1-ep-Zec"/> 5718 <constraint firstAttribute="trailing" secondItem="UhC-Lj-tfN" secondAttribute="trailing" constant="20" id="lM1-ep-Zec"/>
5662 <constraint firstItem="Xz4-EE-EzJ" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="lMf-pF-Bp6"/> 5719 <constraint firstItem="Xz4-EE-EzJ" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="lMf-pF-Bp6"/>
5720 + <constraint firstAttribute="trailing" secondItem="mrR-ID-3V1" secondAttribute="trailing" constant="20" id="nac-Qi-24n"/>
5663 <constraint firstItem="tzW-b9-Rbx" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="oYF-cS-wt4"/> 5721 <constraint firstItem="tzW-b9-Rbx" firstAttribute="leading" secondItem="1ec-eH-fkX" secondAttribute="leading" constant="20" id="oYF-cS-wt4"/>
5664 <constraint firstItem="UhC-Lj-tfN" firstAttribute="top" secondItem="Zw5-Wj-WD5" secondAttribute="bottom" constant="30" id="ora-fw-TKe"/> 5722 <constraint firstItem="UhC-Lj-tfN" firstAttribute="top" secondItem="Zw5-Wj-WD5" secondAttribute="bottom" constant="30" id="ora-fw-TKe"/>
5665 <constraint firstAttribute="trailing" secondItem="iiM-5P-m5s" secondAttribute="trailing" id="qWA-17-dEY"/> 5723 <constraint firstAttribute="trailing" secondItem="iiM-5P-m5s" secondAttribute="trailing" id="qWA-17-dEY"/>
...@@ -5722,6 +5780,9 @@ ...@@ -5722,6 +5780,9 @@
5722 <outlet property="barcodeLabel" destination="EKv-Mx-6Yv" id="myd-id-Q29"/> 5780 <outlet property="barcodeLabel" destination="EKv-Mx-6Yv" id="myd-id-Q29"/>
5723 <outlet property="barcodeLabelHeight" destination="LfJ-bC-nLk" id="cPV-72-LRC"/> 5781 <outlet property="barcodeLabelHeight" destination="LfJ-bC-nLk" id="cPV-72-LRC"/>
5724 <outlet property="barcodeLabelTopSpace" destination="hZO-Qg-tda" id="X5g-M7-vwh"/> 5782 <outlet property="barcodeLabelTopSpace" destination="hZO-Qg-tda" id="X5g-M7-vwh"/>
5783 + <outlet property="barcodeTitleLabel" destination="mrR-ID-3V1" id="iVV-eN-u4i"/>
5784 + <outlet property="barcodeTitleLabelHeight" destination="1ff-He-qSg" id="4Or-ir-3cu"/>
5785 + <outlet property="barcodeTitleLabelTopSpace" destination="h9l-Jc-168" id="LNG-d2-Fbx"/>
5725 <outlet property="border1TopSpace" destination="G5W-a3-pag" id="bKg-mJ-AWF"/> 5786 <outlet property="border1TopSpace" destination="G5W-a3-pag" id="bKg-mJ-AWF"/>
5726 <outlet property="border2TopSpace" destination="hL4-rX-9aa" id="87h-tF-CnT"/> 5787 <outlet property="border2TopSpace" destination="hL4-rX-9aa" id="87h-tF-CnT"/>
5727 <outlet property="borderView2Height" destination="DVl-3B-zqo" id="USP-Iq-ZAd"/> 5788 <outlet property="borderView2Height" destination="DVl-3B-zqo" id="USP-Iq-ZAd"/>
...@@ -5735,8 +5796,11 @@ ...@@ -5735,8 +5796,11 @@
5735 <outlet property="couponView" destination="Zdf-1r-FdJ" id="OA8-73-e0p"/> 5796 <outlet property="couponView" destination="Zdf-1r-FdJ" id="OA8-73-e0p"/>
5736 <outlet property="couponViewHeight" destination="XVr-JP-U40" id="zhH-KN-zLy"/> 5797 <outlet property="couponViewHeight" destination="XVr-JP-U40" id="zhH-KN-zLy"/>
5737 <outlet property="couponViewTopSpace" destination="KZi-Jl-Yyz" id="Xlm-Ls-aNv"/> 5798 <outlet property="couponViewTopSpace" destination="KZi-Jl-Yyz" id="Xlm-Ls-aNv"/>
5799 + <outlet property="discountLabel" destination="hmI-GY-9Ou" id="ai8-UU-wnL"/>
5800 + <outlet property="discountView" destination="w9v-K9-Ca1" id="KHe-b7-uzQ"/>
5738 <outlet property="discriptionLabel" destination="mri-Wl-spg" id="iuf-XL-NWH"/> 5801 <outlet property="discriptionLabel" destination="mri-Wl-spg" id="iuf-XL-NWH"/>
5739 <outlet property="expirationLabel" destination="UhC-Lj-tfN" id="9Hj-I1-nJa"/> 5802 <outlet property="expirationLabel" destination="UhC-Lj-tfN" id="9Hj-I1-nJa"/>
5803 + <outlet property="expirationLabelHeight" destination="d8H-UJ-FgS" id="KGs-3z-oX9"/>
5740 <outlet property="mainView" destination="P3Q-nP-aSj" id="pZK-pk-db5"/> 5804 <outlet property="mainView" destination="P3Q-nP-aSj" id="pZK-pk-db5"/>
5741 <outlet property="mapButton" destination="W5f-1T-iW6" id="2IL-QE-TdM"/> 5805 <outlet property="mapButton" destination="W5f-1T-iW6" id="2IL-QE-TdM"/>
5742 <outlet property="mapButtonHeight" destination="3pq-y5-f66" id="oFZ-P9-dUD"/> 5806 <outlet property="mapButtonHeight" destination="3pq-y5-f66" id="oFZ-P9-dUD"/>
...@@ -5757,6 +5821,10 @@ ...@@ -5757,6 +5821,10 @@
5757 <outlet property="termsTextView" destination="xjX-HZ-MpD" id="8ZQ-e0-1Ib"/> 5821 <outlet property="termsTextView" destination="xjX-HZ-MpD" id="8ZQ-e0-1Ib"/>
5758 <outlet property="termsTextViewHeight" destination="3GU-tg-S3t" id="H3e-IQ-FGo"/> 5822 <outlet property="termsTextViewHeight" destination="3GU-tg-S3t" id="H3e-IQ-FGo"/>
5759 <outlet property="topBorderLine" destination="PQs-Qn-5Rq" id="V9f-xB-2zP"/> 5823 <outlet property="topBorderLine" destination="PQs-Qn-5Rq" id="V9f-xB-2zP"/>
5824 + <outlet property="topExpirationLabel" destination="kf4-Ij-bMw" id="Abk-G7-tNs"/>
5825 + <outlet property="topExpirationView" destination="0Jl-GR-rPb" id="TSK-tm-1KL"/>
5826 + <outlet property="topExpirationViewHeight" destination="Bic-Qc-jMw" id="cy8-CO-Jv5"/>
5827 + <outlet property="topExpirationViewTopSpace" destination="60A-on-R8q" id="GZB-bc-GcI"/>
5760 </connections> 5828 </connections>
5761 </viewController> 5829 </viewController>
5762 <placeholder placeholderIdentifier="IBFirstResponder" id="tvH-ht-75E" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/> 5830 <placeholder placeholderIdentifier="IBFirstResponder" id="tvH-ht-75E" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
......
...@@ -335,6 +335,7 @@ extension UnifiedCouponsViewController: UITableViewDelegate, UITableViewDataSour ...@@ -335,6 +335,7 @@ extension UnifiedCouponsViewController: UITableViewDelegate, UITableViewDataSour
335 let vc = storyboard.instantiateViewController(withIdentifier: "CouponBarcodeViewController") as! SwiftWarplyFramework.CouponBarcodeViewController 335 let vc = storyboard.instantiateViewController(withIdentifier: "CouponBarcodeViewController") as! SwiftWarplyFramework.CouponBarcodeViewController
336 vc.coupon = smCoupons[indexPath.row] 336 vc.coupon = smCoupons[indexPath.row]
337 vc.isFromWallet = true 337 vc.isFromWallet = true
338 + vc.isSMCoupon = true
338 self.navigationController?.pushViewController(vc, animated: true) 339 self.navigationController?.pushViewController(vc, animated: true)
339 340
340 } else { 341 } else {
......