From 1598480a192e9a056834d636fbd7de7ae00dead6 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 29 Oct 2015 10:52:04 -0700 Subject: [PATCH] fix appointments vs. no direct elements/ access, RT#34237, RT#23357 --- httemplate/elements/popup_link-make_appointment.html | 2 +- httemplate/{elements => misc}/make_appointment.html | 0 httemplate/view/cust_main/menu.html | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename httemplate/{elements => misc}/make_appointment.html (100%) diff --git a/httemplate/elements/popup_link-make_appointment.html b/httemplate/elements/popup_link-make_appointment.html index 60a337c04..3a8d37a8c 100644 --- a/httemplate/elements/popup_link-make_appointment.html +++ b/httemplate/elements/popup_link-make_appointment.html @@ -26,6 +26,6 @@ $params->{'actionlabel'} ||= 'Schedule appointment'; #$params->{'width'} ||= 350; #$params->{'height'} ||= 220; -$params->{'action'} = $p. '/elements/make_appointment.html?custnum='. $params->{'custnum'}; +$params->{'action'} = $p. 'misc/make_appointment.html?custnum='. $params->{'custnum'}; diff --git a/httemplate/elements/make_appointment.html b/httemplate/misc/make_appointment.html similarity index 100% rename from httemplate/elements/make_appointment.html rename to httemplate/misc/make_appointment.html diff --git a/httemplate/view/cust_main/menu.html b/httemplate/view/cust_main/menu.html index b8740635d..ab2d69d34 100644 --- a/httemplate/view/cust_main/menu.html +++ b/httemplate/view/cust_main/menu.html @@ -317,7 +317,7 @@ my @menu = ( label => 'Schedule new appointment', confexists => 'ticket_system', acl => 'Make appointment', - popup => "elements/make_appointment.html?custnum=$custnum", + popup => "misc/make_appointment.html?custnum=$custnum", actionlabel => 'Schedule appointment', }, ], -- 2.11.0