summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-10-29 10:52:04 -0700
committerIvan Kohler <ivan@freeside.biz>2015-10-29 10:52:04 -0700
commit1598480a192e9a056834d636fbd7de7ae00dead6 (patch)
tree1ba0d371c737b4fbd9ae41fa669d601a1fbc1c79
parent96b046470a55b011ad7a6610f36f2bd68504de6f (diff)
fix appointments vs. no direct elements/ access, RT#34237, RT#23357
-rw-r--r--httemplate/elements/popup_link-make_appointment.html2
-rw-r--r--httemplate/misc/make_appointment.html (renamed from httemplate/elements/make_appointment.html)0
-rw-r--r--httemplate/view/cust_main/menu.html2
3 files changed, 2 insertions, 2 deletions
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'};
</%init>
diff --git a/httemplate/elements/make_appointment.html b/httemplate/misc/make_appointment.html
index ddf377f54..ddf377f54 100644
--- a/httemplate/elements/make_appointment.html
+++ b/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',
},
],