diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-10-24 23:52:56 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-10-24 23:52:56 -0500 |
commit | ba6079dc54bdec02fd3a83396a8430ad095ee2d3 (patch) | |
tree | 88e6b0b8965e2bd0201eae02f6499f4f05d01d10 | |
parent | d11723f9d8addadcd2aea0dd39fd4d8778dc68ee (diff) |
72901: OFM Freeside Note Classes [additional v3 tweaks]
-rw-r--r-- | FS/FS/Conf.pm | 2 | ||||
-rwxr-xr-x | httemplate/view/cust_main/notes.html | 3 | ||||
-rw-r--r-- | httemplate/view/cust_main/notes/notes.html | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index c31a1e1..0808c38 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -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', }, diff --git a/httemplate/view/cust_main/notes.html b/httemplate/view/cust_main/notes.html index deba956..1692519 100755 --- a/httemplate/view/cust_main/notes.html +++ b/httemplate/view/cust_main/notes.html @@ -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 &> diff --git a/httemplate/view/cust_main/notes/notes.html b/httemplate/view/cust_main/notes/notes.html index 18a75f7..1da0b3c 100644 --- a/httemplate/view/cust_main/notes/notes.html +++ b/httemplate/view/cust_main/notes/notes.html @@ -1,4 +1,5 @@ % if ( scalar(@notes) ) { +<SCRIPT SRC="<% $fsurl %>elements/jquery.js"></SCRIPT> <SCRIPT TYPE="text/javascript"> function display_notes_classnum (classnum) { |