[freeside-commits] freeside/httemplate/view cust_main.cgi, 1.106, 1.107

Ivan,,, ivan at wavetail.420.am
Sun Oct 8 17:31:01 PDT 2006


Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail:/tmp/cvs-serv30469/httemplate/view

Modified Files:
	cust_main.cgi 
Log Message:
have the new style notes be the default

Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main.cgi,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -d -r1.106 -r1.107
--- cust_main.cgi	9 Oct 2006 00:26:27 -0000	1.106
+++ cust_main.cgi	9 Oct 2006 00:30:58 -0000	1.107
@@ -117,11 +117,11 @@
 % } 
 <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>



More information about the freeside-commits mailing list