X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fview%2Fcust_main%2Fpackages.html;h=566ab294384a86dcaaa27e1b97c8112839391938;hb=b0d36fb26e247d430cddbb65bc4c739153992755;hp=24a12cc4694a2f825ab326edd377690b57aa8fce;hpb=c6782ab85ea83e0c78d85b8975985aac9d467f9d;p=freeside.git
diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html
index 24a12cc46..566ab2943 100755
--- a/httemplate/view/cust_main/packages.html
+++ b/httemplate/view/cust_main/packages.html
@@ -3,7 +3,6 @@ td.package {
vertical-align: top;
border-width: 0;
border-style: solid;
- border-color: #bbbbff;
}
table.package {
border: none;
@@ -24,7 +23,10 @@ table.usage {
.row1 { background-color: #ffffff; }
-% my $s = 0;
+
+% unless ( $opt{no_links} ) {
+
+% my $s = 0;
% if ( $curuser->access_right('Qualify service') ) {
<% $s++ ? ' | ' : '' %>
@@ -43,21 +45,33 @@ table.usage {
<& one_time_charge_link.html, $cust_main &>
% }
+% if ( $curuser->access_right('Bulk move customer services') ) {
+ <% $s++ ? ' | ' : '' %>
+
+ <& /elements/popup_link-cust_main.html,
+ 'label' => emt('Move services between packages'),
+ 'action' => "${p}edit/bulk-cust_svc-pkgnum.html",
+ 'cust_main' => $cust_main,
+ 'actionlabel' => emt('Move services'),
+ 'width' => 968, #763,
+ 'height' => 575,
+ &>
+
+% }
+
% if ( $curuser->access_right('Bulk change customer packages') ) {
<% $s++ ? ' | ' : '' %>
- <% mt('Bulk order and cancel packages') |h %> (<% mt('preserves services') |h %>)
+ <% mt('Bulk order and cancel packages') |h %>
% }
+% } # unless $opt{no_links}
+
-% if ( @$packages ) { - -<% mt('Current packages') |h %> -% } % if ( $cust_main->num_cancelled_pkgs ) { % if ( $cgi->param('showcancelledpackages') eq '0' #see if it was set by me % || ( $conf->exists('hidecancelledpackages') @@ -86,6 +100,9 @@ table.usage { % } | + +% unless ( $opt{no_links} ) { +<% mt('Package reports') |h %> % if ( $curuser->access_right('Qualify service') ) { @@ -97,14 +114,18 @@ table.usage { <% mt('Usage reports:') |h %> <% mt('CDRs') |h %> | + +% } # unless $opt{no_links} +
-% if ( $conf->exists('cust_pkg-group_by_location') and $show_location ) { +% if ( $conf->exists('cust_pkg-group_by_location') ) { <& locations.html, 'cust_main' => $cust_main, 'packages' => $packages, + %opt, &> % } % else { @@ -113,7 +134,7 @@ table.usage { <& packages/section.html, 'cust_main' => $cust_main, 'packages' => $packages, - 'show_location' => $show_location, + %opt, &> |