diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-03-08 15:13:00 -0600 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-03-11 19:23:04 -0600 |
commit | aabf07e986e32a4dd20c94ee8cee4b5767ba6127 (patch) | |
tree | 3da81dc7c223564cb11144f27ddc757d6c847672 /httemplate/elements/select-part_pkg.html | |
parent | 031ed2267f963d8538000f9ca6b9abceca46e779 (diff) |
RT#21463 Option to show disabled package definitions [recently added select/addl_from defaults copied to xmlhttp]
Diffstat (limited to 'httemplate/elements/select-part_pkg.html')
-rw-r--r-- | httemplate/elements/select-part_pkg.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/elements/select-part_pkg.html b/httemplate/elements/select-part_pkg.html index ba1d7b72e..caceb5c34 100644 --- a/httemplate/elements/select-part_pkg.html +++ b/httemplate/elements/select-part_pkg.html @@ -125,6 +125,7 @@ if ($opt{'toggle_disabled'}) { order_by pre_options post_options + select ) ) { die "Cannot use toggle_disabled with $someopt" if exists $opt{$someopt}; @@ -155,6 +156,9 @@ if ( exists($opt{'classnum'}) && defined($opt{'classnum'}) ) { die 'Use of toggle_disabled with classnum has not been implemented' if exists $hash{'classnum'}; +# CAUTION: For proper functioning of toggle_disabled, +# please ensure changes to default options are synced with misc/xmlhttp-part_pkg.cgi + $opt{'select'} = 'part_pkg.*, setup_option.optionvalue AS _setup_fee, recur_option.optionvalue AS _recur_fee' unless $opt{'select'}; |