From 9186ed8ab4b2b25e91efe6d0dcabeaef191a2709 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 9 Oct 2006 00:30:58 +0000 Subject: [PATCH] have the new style notes be the default --- FS/FS/Conf.pm | 4 ++-- httemplate/view/cust_main.cgi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index c956b5b0c..bafdd793f 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -1781,9 +1781,9 @@ httemplate/docs/config.html }, { - 'key' => 'cust_main-use_notes', + 'key' => 'cust_main-disable_notes', 'section' => 'UI', - 'description' => 'Display link to add timestamped and user identified customr notes. Useful in tracking who did what.', + 'description' => 'Disable new style customer notes - timestamped and user identified customr notes. Useful in tracking who did what.', 'type' => 'checkbox', }, diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index 96acf15eb..70d424065 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -117,11 +117,11 @@ Comments % }

% my $notecount = scalar($cust_main->notes()); -% if ($conf->exists('cust_main-use_notes') || $notecount) { +% if ( ! $conf->exists('cust_main-disable_notes') || $notecount) { Notes
% if ( $curuser->access_right('Add customer note') && -% $conf->exists('cust_main-use_notes') +% ! $conf->exists('cust_main-disable_notes') % ) { Add customer note -- 2.11.0