diff options
author | levinse <levinse> | 2011-05-22 16:39:46 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-05-22 16:39:46 +0000 |
commit | 73ccbbf60928661e385c826de893e6fd57c7e364 (patch) | |
tree | fe56370e2539971df08e7cc2403f224138951907 /httemplate/elements/select-cust-part_pkg.html | |
parent | 6e39b5fce608de6c2fa532439b58e83c548814c9 (diff) |
internationalization/localization, RT12515
Diffstat (limited to 'httemplate/elements/select-cust-part_pkg.html')
-rw-r--r-- | httemplate/elements/select-cust-part_pkg.html | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/httemplate/elements/select-cust-part_pkg.html b/httemplate/elements/select-cust-part_pkg.html index 7f91e8141..731beae2a 100644 --- a/httemplate/elements/select-cust-part_pkg.html +++ b/httemplate/elements/select-cust-part_pkg.html @@ -18,12 +18,11 @@ Example: </%doc> -<% include( '/elements/select-part_pkg.html', - 'empty_label' => 'Select package', #? need here in case removed +<& /elements/select-part_pkg.html, + 'empty_label' => emt('Select package'), #? need here in case removed #from select-part_pkg ?? %opt, - ) -%> +&> <%init> my( %opt ) = @_; @@ -32,10 +31,5 @@ my $cust_main = $opt{'cust_main'} or die "cust_main not specified"; $opt{'extra_sql'} .= ' AND '. FS::part_pkg->agent_pkgs_sql( $cust_main->agent ); -# ' AND ( agentnum IS NOT NULL '. -# ' OR 0 < ( SELECT COUNT(*) FROM type_pkgs '. -# ' WHERE typenum = '. $cust_main->agent->typenum. -# ' AND type_pkgs.pkgpart = part_pkg.pkgpart )'. -# ' )'; </%init> |