|
@@ -135,6 +135,10 @@ public class SettingTableViewController: UITableViewController, UIGestureRecogni
|
|
|
Item.menus["Personal"]?.append(Item(icon: UIImage(systemName: "arrow.up.and.person.rectangle.portrait"), title: "Sign-Up/Sign-In".localized()))
|
|
|
} else if isChangeProfile {
|
|
|
Item.menus["Personal"]?.append(Item(icon: UIImage(systemName: "arrow.clockwise.icloud"), title: "Backup & Restore".localized()))
|
|
|
+ Item.menus["Personal"]?.append(Item(icon: UIImage(systemName: "lessthan.circle"), title: "Validation Transaction Limit".localized()))
|
|
|
+ if Utils.getEnableMobileBuilder() == "1" {
|
|
|
+ Item.menus["Personal"]?.append(Item(icon: UIImage(systemName: "iphone"), title: "Create Your Own App".localized()))
|
|
|
+ }
|
|
|
Item.menus["Personal"]?.append(Item(icon: UIImage(systemName: "rectangle.portrait.and.arrow.right"), title: "Sign-Out".localized()))
|
|
|
}
|
|
|
let image = cursorUser.string(forColumnIndex: 1)
|
|
@@ -323,6 +327,10 @@ public class SettingTableViewController: UITableViewController, UIGestureRecogni
|
|
|
// case "Logout".localized():
|
|
|
case "Change Admin / Internal Password".localized():
|
|
|
cell.accessoryType = .disclosureIndicator
|
|
|
+ case "Validation Transaction Limit".localized():
|
|
|
+ cell.accessoryType = .disclosureIndicator
|
|
|
+ case "Create Your Own App".localized():
|
|
|
+ cell.accessoryType = .disclosureIndicator
|
|
|
case "Change Language".localized():
|
|
|
cell.accessoryType = .disclosureIndicator
|
|
|
case "Set Internal Account".localized():
|
|
@@ -603,6 +611,13 @@ public class SettingTableViewController: UITableViewController, UIGestureRecogni
|
|
|
viewConfigureFB.modalTransitionStyle = .crossDissolve
|
|
|
viewConfigureFB.modalPresentationStyle = .custom
|
|
|
self.present(viewConfigureFB, animated: true)
|
|
|
+ } else if item.title == "Validation Transaction Limit".localized() {
|
|
|
+ let controller = ValidationTransactionLimit()
|
|
|
+ navigationController?.show(controller, sender: nil)
|
|
|
+ } else if item.title == "Create Your Own App".localized() {
|
|
|
+ let controller = BNIBookingWebView()
|
|
|
+ controller.customUrl = Utils.getURLBase() + "mobile_MAB?f_pin="
|
|
|
+ self.present(controller, animated: true)
|
|
|
}
|
|
|
}
|
|
|
|