X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpackages.html;h=ed4ca60c48568e48599b739f9803731f14de56ac;hb=457da870c23db87fbbc29d7c667a73f41422dd71;hp=31aa262f4775a10ab2fef2adb48d09fda4f59eeb;hpb=f4b44f216c812b5419df17e3c08aed99e0911646;p=freeside.git diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html index 31aa262f4..ed4ca60c4 100755 --- a/httemplate/view/cust_main/packages.html +++ b/httemplate/view/cust_main/packages.html @@ -1,17 +1,13 @@ % my $s = 0; + +% if ( $curuser->access_right('Qualify service') ) { + <% $s++ ? ' | ' : '' %> + <% include('qual_link.html', $cust_main) %> +% } + % if ( $curuser->access_right('Order customer package') ) { <% $s++ ? ' | ' : '' %> - <% include( '/elements/popup_link-cust_main.html', - 'action' => $p. 'misc/order_pkg.html', - 'label' => 'Order new package', - 'actionlabel' => 'Order new package', - 'color' => '#333399', - 'cust_main' => $cust_main, - 'closetext' => 'Close', - 'width' => 763, - 'height' => 350, - ) - %> + <% include('order_pkg_link.html', $cust_main) %> % } % if ( $curuser->access_right('One-time charge') @@ -65,9 +61,15 @@ Current packages - Package reports
+ Package reports +% if ( $curuser->access_right('Qualify service') ) { + | View Qualifications +% } +
Service reports: - accounts + accounts
+ Usage reports: + CDRs @@ -169,7 +171,9 @@ my %conf_opt = ( #for services.html 'svc_external-skip_manual' => $conf->exists('svc_external-skip_manual'), 'legacy_link' => $conf->exists('legacy_link'), - 'svc_broadband-manage_link' => $conf->config('svc_broadband-manage_link'), + 'svc_broadband-manage_link' => scalar($conf->config('svc_broadband-manage_link')), + 'maestro-status_test' => $conf->exists('maestro-status_test'), + 'cust_pkg-large_pkg_size' => $conf->config('cust_pkg-large_pkg_size'), ); #subroutines