From: Jonathan Prykop Date: Tue, 25 Oct 2016 04:52:56 +0000 (-0500) Subject: 72901: OFM Freeside Note Classes [additional v3 tweaks] X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=ba6079dc54bdec02fd3a83396a8430ad095ee2d3 72901: OFM Freeside Note Classes [additional v3 tweaks] --- diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index c31a1e173..0808c3885 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 deba956ae..16925199d 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') % ) { +

<& /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 &> +

% } -
% # 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 18a75f732..1da0b3c74 100644 --- a/httemplate/view/cust_main/notes/notes.html +++ b/httemplate/view/cust_main/notes/notes.html @@ -1,4 +1,5 @@ % if ( scalar(@notes) ) { +