From 08d7466e4273dce948666c357b50ba4f39c97e02 Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Mon, 10 Jul 2017 09:52:54 -0400 Subject: RT# 74537 - Added new selfservice config option to make ECHECK readonly on selfservice, updated selfservice and NGselfservice to look for this option --- FS/FS/ClientAPI/MyAccount.pm | 1 + FS/FS/Conf.pm | 7 +++++++ 2 files changed, 8 insertions(+) (limited to 'FS') diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index 505111e1a..49e61ab7b 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -840,6 +840,7 @@ sub payment_info { 'show_paystate' => $conf->exists('show_bankstate'), 'save_unchecked' => $conf->exists('selfservice-save_unchecked'), + 'ach_read_only' => $conf->exists('selfservice-ACH_info_readonly'), }; diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 5ab9a3ff6..b5b5ec89e 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -5822,6 +5822,13 @@ and customer address. Include units.', 'type' => 'checkbox', }, + { + 'key' => 'selfservice-ACH_info_readonly', + 'section' => 'self-service', + 'description' => 'make ACH on self service portal read only', + 'type' => 'checkbox', + }, + { 'key' => 'selfservice-announcement', 'section' => 'self-service', -- cgit v1.2.1