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:31:20 -0800
commitbbd0138791eaf4a7a64448418dee176721e6067b (patch)
treee401c604da0536432a9cef85885ff2ed5b96a067 /httemplate/edit
parent1eb6d8a1549dfcedd122116541df36869f177bf6 (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 6a532223e..dc1eba0b9 100644
--- a/httemplate/edit/part_event.html
+++ b/httemplate/edit/part_event.html
@@ -485,6 +485,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;
@@ -524,6 +527,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;