[freeside-commits] freeside/httemplate/view/cust_main/packages location.html, 1.3, 1.4

Ivan,,, ivan at wavetail.420.am
Sun Jan 18 15:43:42 PST 2009


Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main/packages
In directory wavetail.420.am:/tmp/cvs-serv10673/httemplate/view/cust_main/packages

Modified Files:
	location.html 
Log Message:
finish package location tax reporing, RT#4499

Index: location.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/packages/location.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- location.html	10 Jan 2009 23:56:59 -0000	1.3
+++ location.html	18 Jan 2009 23:43:40 -0000	1.4
@@ -19,7 +19,10 @@
 
   </I>
 
-% if ($FS::CurrentUser::CurrentUser->access_right('Change customer package')) {
+% if ( ! $cust_pkg->get('cancel')
+%      && $FS::CurrentUser::CurrentUser->access_right('Change customer package')
+%    )
+% {
   <FONT SIZE=-1>
     (&nbsp;<%pkg_change_location_link($cust_pkg)%>&nbsp;)
   </FONT>



More information about the freeside-commits mailing list