X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-cust-part_pkg.html;h=e55cbee30c86a6c31a65775e2b02fa7d54cf45d2;hb=3d2e1d9b5d1883f768f5a90e0dfaae7cc9a41367;hp=69400f16ac87f97e653e21a344945ae067d53e03;hpb=624b2d44625f69d71175c3348cae635d580c890b;p=freeside.git
diff --git a/httemplate/elements/tr-select-cust-part_pkg.html b/httemplate/elements/tr-select-cust-part_pkg.html
index 69400f16a..e55cbee30 100644
--- a/httemplate/elements/tr-select-cust-part_pkg.html
+++ b/httemplate/elements/tr-select-cust-part_pkg.html
@@ -1,10 +1,9 @@
%if ( scalar(@pkg_class) > 1 && ! $conf->exists('disable-cust-pkg_class') ) {
- <% include('/elements/xmlhttp.html',
+ <& /elements/xmlhttp.html,
'url' => $p.'misc/cust-part_pkg.cgi',
'subs' => [ 'get_part_pkg' ],
- )
- %>
+ &>
- Package Class |
+ <% mt('Package Class') |h %> |
- <% include('/elements/select-cust-pkg_class.html',
+ <& /elements/select-cust-pkg_class.html,
'curr_value' => $opt{'classnum'},
'pkg_class' => \@pkg_class,
'onchange' => 'classnum_changed',
- )
- %>
+ &>
|
%}
- Package |
+ <% mt('Package') |h %> |
- <% include('/elements/select-cust-part_pkg.html',
+ <& /elements/select-cust-part_pkg.html,
'curr_value' => $opt{'curr_value'}, #$pkgpart
'classnum' => $opt{'classnum'},
'cust_main' => $opt{'cust_main'}, #$cust_main
'onchange' => 'enable_order_pkg',
- )
- %>
+ &>
|
@@ -92,9 +92,6 @@ $pre_label .= ' ' if length($pre_label) && $pre_label =~ /\S$/;
my $cust_main = $opt{'cust_main'}
or die "cust_main not specified";
-#my @pkg_class = sort { $a->classname cmp $b->classname }
-# qsearch( 'pkg_class', { 'disabled' => '' } );
-
#"normal" part_pkg agent virtualization (agentnum or type)
my @part_pkg = qsearch({
'select' => 'DISTINCT classnum',