summaryrefslogtreecommitdiff
path: root/httemplate/misc
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-10-29 10:57:58 -0700
committerIvan Kohler <ivan@freeside.biz>2015-10-29 10:58:28 -0700
commitefbbb5771b443200ab25b46b8051fa9c0767bc4b (patch)
tree61e6c73c9b8ca43bab9eb298c9aeb2065ebe458b /httemplate/misc
parent655bd24478012c6d4e9d76152754897c26e4c910 (diff)
fix appointments vs. no direct elements/ access, RT#34237, RT#23357
Diffstat (limited to 'httemplate/misc')
-rw-r--r--httemplate/misc/schedule-appointment.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/httemplate/misc/schedule-appointment.html b/httemplate/misc/schedule-appointment.html
new file mode 100644
index 000000000..45a8a5bab
--- /dev/null
+++ b/httemplate/misc/schedule-appointment.html
@@ -0,0 +1,20 @@
+<& /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";
+ #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>