|
|
@ -27,7 +27,7 @@ extension SendMoneyReceiptWireframe: SendMoneyReceiptWireframeInput { |
|
|
|
let viewController = viewControllerFromStoryboard(of: SendMoneyReceiptViewController.self) |
|
|
|
viewController.controlNo = self.controlNo // todo: refractor later |
|
|
|
viewController.transactionId = self.transactionId // todo: refractor later |
|
|
|
viewController.isFromTransactionReport = self.isFromTransactionReport |
|
|
|
viewController.shouldShowCancelAmmendButton = self.isFromTransactionReport |
|
|
|
viewController.presenter = presenter |
|
|
|
interactor.output = presenter |
|
|
|
presenter.interactor = interactor |
|
|
@ -43,8 +43,7 @@ extension SendMoneyReceiptWireframe: SendMoneyReceiptWireframeInput { |
|
|
|
self.pushMainView(in: source) |
|
|
|
} |
|
|
|
|
|
|
|
func openRecieptFromTransactionReport(controlNo: String, transactionId: String, source: UINavigationController) { |
|
|
|
self.isFromTransactionReport = true |
|
|
|
func openRecieptFromTransactionReport(controlNo: String, transactionId: String, shouldShowCancelAmmendButton: Bool, source: UINavigationController) { |
|
|
|
self.transactionId = transactionId |
|
|
|
self.controlNo = controlNo |
|
|
|
self.pushMainView(in: source) |
|
|
|