X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpackages.html;h=f0f156bf8b799e98531afd4e9ead9f2f27f9746c;hb=140b381af1008dad929b4d3b87aa1e54747d534f;hp=dbbdf679784a77e7b0e44f5d3559368956d924fa;hpb=00156a6b621cc0e0227564ebbc53bda3aeb9dc14;p=freeside.git diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html index dbbdf6797..f0f156bf8 100755 --- a/httemplate/view/cust_main/packages.html +++ b/httemplate/view/cust_main/packages.html @@ -1,17 +1,7 @@ % my $s = 0; % 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,7 +55,11 @@ Current packages - Package reports + Package reports
+ Service reports: + accounts
+ Usage reports: + CDRs @@ -167,7 +161,8 @@ 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'), ); #subroutines @@ -215,8 +210,7 @@ sub get_packages { unless ( $cgi->param('showoldpackages') ) { my $years = $conf->config('cust_main-packages-years') || 2; - my $seconds = 31556926; #60*60*24*365.2422 is close enough - my $then = time - $seconds; + my $then = time - $years * 31556926; #60*60*24*365.2422 is close enough my %hide = ( 'cancelled' => 'cancel', 'one-time charge' => 'setup',