summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2012-02-20 23:02:16 -0800
committerMark Wells <mark@freeside.biz>2012-02-20 23:02:16 -0800
commit42c5857d4df6eb6108a7d5f79569c9273384a245 (patch)
tree40e3e850881e239db1e5e84e4637127d505a6a02 /httemplate/edit
parent07f4516dab899ff15a34e197a3622df6675f63cf (diff)
customer signup date event condition, #16591
Diffstat (limited to 'httemplate/edit')
-rw-r--r--httemplate/edit/part_event.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/edit/part_event.html b/httemplate/edit/part_event.html
index e005cbba0..702471b73 100644
--- a/httemplate/edit/part_event.html
+++ b/httemplate/edit/part_event.html
@@ -500,6 +500,9 @@ tie my %all_conditions, 'Tie::IxHash',
'' => { 'description' => '*** Select new condition ***', },
FS::part_event_condition->conditions();
+# *** Select new condition *** sorts to the beginning anyway
+(tied %all_conditions)->SortByValue;
+
my %condition_labels = map { $_ => $all_conditions{$_}->{'description'} }
keys %all_conditions;
@@ -539,6 +542,8 @@ tie my %all_actions, 'Tie::IxHash',
'' => { 'description' => '*** Select event action ***', },
FS::part_event->actions();
+(tied %all_actions)->SortByValue;
+
my %action_labels = map { $_ => $all_actions{$_}->{'description'} }
keys %all_actions;