projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move services between packages, RT#22619
[freeside.git]
/
httemplate
/
view
/
cust_main
/
locations.html
diff --git
a/httemplate/view/cust_main/locations.html
b/httemplate/view/cust_main/locations.html
index
689c9a3
..
7eb52ca
100755
(executable)
--- a/
httemplate/view/cust_main/locations.html
+++ b/
httemplate/view/cust_main/locations.html
@@
-28,15
+28,19
@@
STYLE="padding-bottom: 0px;
% }
<% $loc->location_label %></SPAN>
<SPAN STYLE="float:right;">
% }
<% $loc->location_label %></SPAN>
<SPAN STYLE="float:right;">
-% if ( $locationnum
and !$loc->disabled
) {
+% if ( $locationnum
&& !$loc->disabled && ! $opt{no_links}
) {
<% edit_location_link($locationnum) %>
% }
<% edit_location_link($locationnum) %>
% }
-% if ( $locationnum
and !$loc->disabled and !$active{$locationnum
} ) {
+% if ( $locationnum
&& !$loc->disabled && !$active{$locationnum} && ! $opt{no_links
} ) {
<% disable_location_link($locationnum) %>
% }
</SPAN></TH></TR>
% if (@$packages) {
<% disable_location_link($locationnum) %>
% }
</SPAN></TH></TR>
% if (@$packages) {
-<& packages/section.html, 'packages' => $packages, 'cust_main' => $cust_main &>
+ <& packages/section.html,
+ 'packages' => $packages,
+ 'cust_main' => $cust_main,
+ 'no_links' => $opt{no_links}
+ &>
% }
</TABLE><BR>
% } #foreach $locationnum
% }
</TABLE><BR>
% } #foreach $locationnum