[freeside-commits] branch master updated. aac2632d374375480440cde44f5e27392d0a83e5
Jeremy Davis
jeremyd at 420.am
Thu May 8 13:23:30 PDT 2014
The branch, master has been updated
via aac2632d374375480440cde44f5e27392d0a83e5 (commit)
from af263d381228524dedebcaa19c7440e3acad4e3c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit aac2632d374375480440cde44f5e27392d0a83e5
Author: Jeremy Davis <jeremyd at freeside.biz>
Date: Thu May 8 13:35:06 2014 -0400
#29086 Order new package link on customer basic tab
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm
index 08bd6a7..36bfa43 100644
--- a/FS/FS/Conf.pm
+++ b/FS/FS/Conf.pm
@@ -3889,6 +3889,13 @@ and customer address. Include units.',
},
{
+ 'key' => 'cust_main-enable_order_package',
+ 'section' => 'UI',
+ 'description' => 'Display order new package on the basic tab',
+ 'type' => 'checkbox',
+ },
+
+ {
'key' => 'cust_main-edit_calling_list_exempt',
'section' => 'UI',
'description' => 'Display the "calling_list_exempt" checkbox on customer edit.',
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi
index 3ca3d26..6f2bb80 100755
--- a/httemplate/view/cust_main.cgi
+++ b/httemplate/view/cust_main.cgi
@@ -135,6 +135,10 @@ function areyousure(href, message) {
% }
<% $email_link || '' %>
+% if ( $curuser->access_right('Order customer package') && $conf->exists('cust_main-enable_order_package') ) {
+ | <& /elements/order_pkg_link.html, 'cust_main'=>$cust_main &>
+% }
+
% if ( $conf->config('cust_main-external_links') ) {
<% $br++ ? ' | ' : '' %>
% my @links = split(/\n/, $conf->config('cust_main-external_links'));
-----------------------------------------------------------------------
Summary of changes:
FS/FS/Conf.pm | 7 +++++++
httemplate/view/cust_main.cgi | 4 ++++
2 files changed, 11 insertions(+), 0 deletions(-)
More information about the freeside-commits
mailing list