X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-pkg_svc.html;h=2324545769e767344ee610c942091ddd0cd94dde;hp=cfef51ce27d491884989a23be9b1e83023594c07;hb=50cc2b95894b151599b458462dcd83edb68980ce;hpb=41aef8bd93f7cc3a39056a8fd997d3072dfcdf8a diff --git a/httemplate/elements/tr-pkg_svc.html b/httemplate/elements/tr-pkg_svc.html index cfef51ce2..232454576 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,28 +83,56 @@ > - - > + + > + % 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 ) { - - + + % foreach my $export ( @mapped_exports ) { @@ -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". '
ExportVendor Package Id (blank to delete)ExportVendor Package Id (blank to delete)
Quan.PrimaryServiceHide
from
Invoices
Bulk
Charge
Hold
Until
Provision
'. + ''. + ''. + ''. + ''. + ''. + ''. + ''. + ''. + qq!!; +; +} my $part_pkg = $opt{'object'}; my $pkgpart = $part_pkg->pkgpart;
Quan.PrimaryServiceHide
from
Invoices
Bulk
Charge
Remove Hold After Provisioning