summaryrefslogtreecommitdiff
path: root/httemplate/misc/schedule-appointment.html
blob: 69b9f422bcaf97fb0264aba150bda2e4b761022b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<& /elements/header-popup.html &>
<h1>Scheduling appointment...</h1>
<SCRIPT TYPE="text/javascript">
  window.top.location.href = '<% $url %>';
</SCRIPT>
<& /elements/footer-popup.html &>
<%init>

my @username = map encode_entities($_), $cgi->param('username');
my $LengthMin = encode_entities( $cgi->param('LengthMin') );
my $custnum = encode_entities( $cgi->param('custnum') );

my $query = join('&', map "username=$_", @username).
            "&LengthMin=$LengthMin".
            "&custnum=$custnum".
            "&RedirectToBasics=1";
            #XXX '&pkgnum=$pkgnum";need to be for specific package/location, not just for a customer... default to active(/ordered) package in a pkg_class w/ticketing_queueid, otherwise, a popup?  we're getting complicated like form-creat_ticket.html

my $url = $p. 'rt/Search/Schedule.html?'. $query;

</%init>