From: ivan Date: Mon, 9 Oct 2006 00:30:58 +0000 (+0000) Subject: have the new style notes be the default X-Git-Tag: freeside_1_7_2~1^2~298 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=9186ed8ab4b2b25e91efe6d0dcabeaef191a2709;p=freeside.git have the new style notes be the default --- 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