From 42a3b2ce795f2c7522123dca5783e147cec21fce Mon Sep 17 00:00:00 2001 From: gme_2 Date: Mon, 29 Oct 2018 17:50:40 +0900 Subject: [PATCH] do not pass when payment mode is not selected --- .../View/SendMoneyPaymentModeViewController.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/GMERemittance/Module/SendMoney/SendMoneyPaymentMode/User Interface/View/SendMoneyPaymentModeViewController.swift b/GMERemittance/Module/SendMoney/SendMoneyPaymentMode/User Interface/View/SendMoneyPaymentModeViewController.swift index da7f9a41..a8896ce2 100644 --- a/GMERemittance/Module/SendMoney/SendMoneyPaymentMode/User Interface/View/SendMoneyPaymentModeViewController.swift +++ b/GMERemittance/Module/SendMoney/SendMoneyPaymentMode/User Interface/View/SendMoneyPaymentModeViewController.swift @@ -143,6 +143,11 @@ class SendMoneyPaymentModeViewController: UIViewController { var shouldGoNextPage = true var callingApi = false var errors = "" + if self.selectedPayoutMode == nil { + self.show(error: "please select Payment mode") + return + } + if shouldValidateBank() { let bank = bankTextField.text! if bank.isEmpty {