From fa2d8d66b29628e95a8a3aad05e59cbb173f4671 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 19 Jun 2013 15:27:21 -0700 Subject: remove customer deletion --- httemplate/view/cust_main.cgi | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'httemplate/view') diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index 1f9e0f904..430c50c5f 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -93,7 +93,7 @@ function areyousure(href, message) { % if ( $curuser->access_right('Merge customer') % and ( scalar($cust_main->ncancelled_pkgs) -% || $conf->exists('deletecustomers') +% # || we start supporting payment info merge again in some way % ) % ) % { @@ -108,12 +108,6 @@ function areyousure(href, message) { &> | % } -% if ( $conf->exists('deletecustomers') -% && $curuser->access_right('Delete customer') -% ) { - <% mt('Delete this customer') |h %> | -% } - % unless ( $conf->exists('disable_customer_referrals') ) { <% mt('Refer a new customer') |h %> | <% mt('View this customer\'s referrals') |h %> -- cgit v1.2.1