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=75f1f6f0abdd5fd1ddd8daa3de272f796efc0c0e;hpb=e3c3d86b7091d806af42e40475a28ea8afb5865c;p=freeside.git
diff --git a/httemplate/elements/tr-select-cust-part_pkg.html b/httemplate/elements/tr-select-cust-part_pkg.html
index 75f1f6f0a..e55cbee30 100644
--- a/httemplate/elements/tr-select-cust-part_pkg.html
+++ b/httemplate/elements/tr-select-cust-part_pkg.html
@@ -1,15 +1,15 @@
%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',
- )
- %>
+ &>
|
@@ -84,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',