have the new style notes be the default
authorivan <ivan>
Mon, 9 Oct 2006 00:30:58 +0000 (00:30 +0000)
committerivan <ivan>
Mon, 9 Oct 2006 00:30:58 +0000 (00:30 +0000)
FS/FS/Conf.pm
httemplate/view/cust_main.cgi

index c956b5b..bafdd79 100644 (file)
@@ -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',
   },
 
index 96acf15..70d4240 100755 (executable)
@@ -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>