X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-pkg_svc.html;h=de3f95a3a20460ae70400216d0fddc10b17f0013;hb=1b3abef9815111c52b1370ba5168a592ae9cfcb0;hp=cfef51ce27d491884989a23be9b1e83023594c07;hpb=41aef8bd93f7cc3a39056a8fd997d3072dfcdf8a;p=freeside.git diff --git a/httemplate/elements/tr-pkg_svc.html b/httemplate/elements/tr-pkg_svc.html index cfef51ce2..de3f95a3a 100644 --- a/httemplate/elements/tr-pkg_svc.html +++ b/httemplate/elements/tr-pkg_svc.html @@ -1,8 +1,13 @@ + + <% itable('', 4, 1) %> -<% $thead %> +<% pkg_svc_thead() %> %foreach my $part_svc ( @part_svc ) { % my $svcpart = $part_svc->svcpart; @@ -78,24 +83,52 @@ > - - > + + > + % foreach ( 1 .. $columns-1 ) { % if ( $count == int( $_ * scalar(@part_svc) / $columns ) ) { % - <% $thead %> + <% pkg_svc_thead() %> % } % } % $count++; % -% } +% } # foreach $part_svc + + % if ( scalar(@possible_exports) > 0 || scalar(@mapped_exports) > 0 ) { @@ -130,15 +163,21 @@ my %opt = @_; my $cgi = $opt{'cgi'}; -my $thead = "\n\n". ntable('#cccccc', 2). - ''. - ''. - ''. - ''. - ''. - ''. - ''. - ''; +my $thead_count = 0; +sub pkg_svc_thead { + $thead_count += 1; + return "\n\n". ntable('#cccccc', 2). + ''. + ''. + ''. + ''. + ''. + ''. + ''. + ''. + qq!!; +; +} my $part_pkg = $opt{'object'}; my $pkgpart = $part_pkg->pkgpart;
Export
Quan.PrimaryServiceHide
from
Invoices
Bulk
Charge
Hold
Until
Provision
Quan.PrimaryServiceHide
from
Invoices
Bulk
Charge
Remove Hold After Provisioning