From ba6079dc54bdec02fd3a83396a8430ad095ee2d3 Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Mon, 24 Oct 2016 23:52:56 -0500 Subject: [PATCH] 72901: OFM Freeside Note Classes [additional v3 tweaks] --- FS/FS/Conf.pm | 2 +- httemplate/view/cust_main/notes.html | 3 ++- 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 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) ) { +