72901: OFM Freeside Note Classes [additional v3 tweaks]
authorJonathan Prykop <jonathan@freeside.biz>
Tue, 25 Oct 2016 04:52:56 +0000 (23:52 -0500)
committerJonathan Prykop <jonathan@freeside.biz>
Tue, 25 Oct 2016 04:52:56 +0000 (23:52 -0500)
FS/FS/Conf.pm
httemplate/view/cust_main/notes.html
httemplate/view/cust_main/notes/notes.html

index c31a1e1..0808c38 100644 (file)
@@ -4180,7 +4180,7 @@ and customer address. Include units.',
 
   {
     'key'         => 'cust_main_note-require_class',
-    'section'     => 'customer_fields',
+    'section'     => 'UI',
     'description' => 'Require customer note classes for customer notes',
     'type'        => 'checkbox',
   },
index deba956..1692519 100755 (executable)
@@ -27,6 +27,7 @@
 %        ! $conf->exists('cust_main-disable_notes')
 %      ) {
 
+<P>
   <& /elements/popup_link-cust_main.html,
                 'label'       => emt('Add customer note'),
                 'action'      => $p. 'edit/cust_main_note.cgi',
@@ -35,9 +36,9 @@
                 'width'       => 616,
                 'height'      => 538, #575
   &>
+</P>
 
 %   }
-<BR>
 
 % # actually display notes
 <& notes/notes.html, 'cust_main' => $cust_main &>
index 18a75f7..1da0b3c 100644 (file)
@@ -1,4 +1,5 @@
 % if ( scalar(@notes) ) {
+<SCRIPT SRC="<% $fsurl %>elements/jquery.js"></SCRIPT>
 <SCRIPT TYPE="text/javascript">
 
 function display_notes_classnum (classnum) {