From 1598480a192e9a056834d636fbd7de7ae00dead6 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 29 Oct 2015 10:52:04 -0700 Subject: fix appointments vs. no direct elements/ access, RT#34237, RT#23357 --- httemplate/misc/make_appointment.html | 39 +++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 httemplate/misc/make_appointment.html (limited to 'httemplate/misc') diff --git a/httemplate/misc/make_appointment.html b/httemplate/misc/make_appointment.html new file mode 100644 index 000000000..ddf377f54 --- /dev/null +++ b/httemplate/misc/make_appointment.html @@ -0,0 +1,39 @@ +<& /elements/header-popup.html &> + +% #XXX actually, the action needs to repace the top-level window with this +% #$params->{'action'} = $p. 'rt/Search/Schedule.html?'. $query; +
+ + + +% my @sched_item = qsearch('sched_item', { 'disabled' => '', }); +% my @username = map $_->access_user->username, @sched_item; +% foreach my $username (@username) { + +% } + +Length: + +
+
+ + + +
+ +<& /elements/footer-popup.html &> +<%init> + +my $default_length = FS::Conf->new->config('default_appointment_length') || 180; + +#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? (well, we're already a popup now) we're getting complicated like form-creat_ticket.html + + + -- cgit v1.2.1