summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main/packages/location.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/view/cust_main/packages/location.html')
-rw-r--r--httemplate/view/cust_main/packages/location.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/httemplate/view/cust_main/packages/location.html b/httemplate/view/cust_main/packages/location.html
index f2d379841..470fad0f1 100644
--- a/httemplate/view/cust_main/packages/location.html
+++ b/httemplate/view/cust_main/packages/location.html
@@ -32,8 +32,10 @@
% {
<BR>
<FONT SIZE=-1>
- (&nbsp;<%pkg_change_location_link($cust_pkg)%>&nbsp;)
-% if ( $cust_pkg->locationnum ) {
+% unless ( $opt{no_links} ) {
+ (&nbsp;<%pkg_change_location_link($cust_pkg)%>&nbsp;)
+% }
+% if ( $cust_pkg->locationnum && ! $opt{no_links} ) {
(&nbsp;<%edit_location_link($cust_pkg->locationnum)%>&nbsp;)
% }
</FONT>