[freeside-commits] branch FREESIDE_4_BRANCH updated. 1940c97e91feb160764c85c291d82f0723fc4e04

Ivan ivan at 420.am
Thu Oct 29 10:53:05 PDT 2015


The branch, FREESIDE_4_BRANCH has been updated
       via  1940c97e91feb160764c85c291d82f0723fc4e04 (commit)
      from  c12e66e585bf0a8d7f5fc019cff7c3eb61fe574f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1940c97e91feb160764c85c291d82f0723fc4e04
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Oct 29 10:52:04 2015 -0700

    fix appointments vs. no direct elements/ access, RT#34237, RT#23357

diff --git a/httemplate/elements/popup_link-make_appointment.html b/httemplate/elements/popup_link-make_appointment.html
index 60a337c..3a8d37a 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
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 229cb3b..1df4afb 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',
     },
   ],

-----------------------------------------------------------------------

Summary of changes:
 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%)




More information about the freeside-commits mailing list