blob: efdc5417e1fcc46e35816dd5c5afc7d8dcb8c07a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
<% include('/elements/header-popup.html', 'Vacation rule') %>
<FORM NAME="VacationForm" ACTION="process/cgp_rule-vacation.html" METHOD=POST>
%# XXX upstream Vacation 1
<% ntable("#cccccc", 2) %>
<TR>
<TD ALIGN="right">Vacation message</TD>
<TD><textarea name="VacationText" rows="5" cols="50"></textarea></TD>
</TR>
<% include('/elements/tr-input-date-field.html', {
'label' => 'Ends',
'name' => 'vacationTill',
'value' => '', #XXX
})
%>
%# XXX upstream:
%# VacationTill 1
%# vacationDay
%# vacationMonth
%# vacationYear
%#XXX Clear 'Replied Addresses' List
</TABLE>
<BR>
<INPUT TYPE="submit" VALUE="Add vacation message">
%#XXX Add/Edit
</FORM>
</BODY>
</HTML>
<%init>
my %opt = @_;
my $svc_acct = qsearchs('svc_acct', { 'svcnum' => $opt{'svcnum'} } )
or die "unknown svcnum";
#XXX look for existing vacation rule
</%init>
|