diff options
author | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
commit | c82d349f864e6bd9f96fd1156903bc1f7193a203 (patch) | |
tree | e117a87533656110b6acd56fc0ca64289892a9f5 /httemplate/elements/select-cust-part_pkg.html | |
parent | 74e058c8a010ef6feb539248a550d0bb169c1e94 (diff) |
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'httemplate/elements/select-cust-part_pkg.html')
-rw-r--r-- | httemplate/elements/select-cust-part_pkg.html | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/httemplate/elements/select-cust-part_pkg.html b/httemplate/elements/select-cust-part_pkg.html deleted file mode 100644 index 7f91e8141..000000000 --- a/httemplate/elements/select-cust-part_pkg.html +++ /dev/null @@ -1,41 +0,0 @@ -<%doc> - -Example: - - include( '/elements/select-cust-part_pkg.html', - - #required - 'cust_main' => $cust_main, #or 'custnum' ? - - #strongly recommended (you want your forms to be "sticky" on errors, right?) - 'curr_value' => 'current_value', - - #opt - 'part_pkg' => \@records, - - #select-table.html options - ) - -</%doc> - -<% include( '/elements/select-part_pkg.html', - 'empty_label' => 'Select package', #? need here in case removed - #from select-part_pkg ?? - %opt, - ) -%> -<%init> - -my( %opt ) = @_; - -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> |