summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2006-10-09 00:30:58 +0000
committerivan <ivan>2006-10-09 00:30:58 +0000
commit9186ed8ab4b2b25e91efe6d0dcabeaef191a2709 (patch)
treedd37616e9cb43b57c75d975dc6f406025081851d
parent17fa39cf364f9876d41c033f63ef0b4f6f8b1bb7 (diff)
have the new style notes be the default
-rw-r--r--FS/FS/Conf.pm4
-rwxr-xr-xhttemplate/view/cust_main.cgi4
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
% }
<BR><BR>
% my $notecount = scalar($cust_main->notes());
-% if ($conf->exists('cust_main-use_notes') || $notecount) {
+% if ( ! $conf->exists('cust_main-disable_notes') || $notecount) {
<A NAME="cust_main_note"><FONT SIZE="+2">Notes</FONT></A><BR>
% if ( $curuser->access_right('Add customer note') &&
-% $conf->exists('cust_main-use_notes')
+% ! $conf->exists('cust_main-disable_notes')
% ) {
<A HREF="javascript:void(0);" onClick="overlib( OLiframeContent('<% $p %>edit/cust_main_note.cgi?custnum=<% $cust_main->custnum %>', 616, 386, 'cust_main_note_popup' ), CAPTION, 'Enter customer note', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK); return false;">Add customer note</A>