RT# 82949 - changes section name from fees to pricing, better opiton
[freeside.git] / httemplate / edit / process / cgp_rule-vacation.html
1 <% include('cgp_rule-simplified.html',
2              'name'       => '#Vacation',
3              'priority'   => 2,
4              'redirect'   => 'cgp_rule-vacation.html',
5              'conditions' => [
6                { conditionname => 'Human Generated', },
7                { conditionname => 'From',
8                  op            => 'not in',
9                  params        => '#RepliedAddresses',
10                },
11                ( $cgi->param('VacationTill')
12                    ? ( { conditionname => 'Current Date',
13                          op            => 'less than', #is less?
14                          params        => scalar($cgi->param('VacationTill')),
15                        }
16                      )
17                    : ()
18                ),
19              ],
20              'actions'    => [
21                { action => 'Reply with',
22                  params => scalar($cgi->param('VacationText')),
23                },
24                { action => "Remember 'From' in",
25                  params => 'RepliedAddresses',
26                },
27              ],
28           )
29 %>