projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add cust_event.no_action flag for events that conditionally execute, #36741
[freeside.git]
/
httemplate
/
elements
/
tr-select-cust-fields.html
diff --git
a/httemplate/elements/tr-select-cust-fields.html
b/httemplate/elements/tr-select-cust-fields.html
index
ca37e42
..
80562fe
100644
(file)
--- a/
httemplate/elements/tr-select-cust-fields.html
+++ b/
httemplate/elements/tr-select-cust-fields.html
@@
-1,14
+1,15
@@
-<%
- my( $cust_fields, %opt ) = @_;
+%
+% my( $cust_fields, %opt ) = @_;
+%
+% use FS::ConfDefaults;
+% $opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ];
+%
+%
- use FS::ConfDefaults;
- $opt{'avail_fields'} ||= [ FS::ConfDefaults->cust_fields_avail() ];
-
-%>
<TR>
<TR>
- <TD ALIGN="right"><%
=
$opt{'label'} || 'Customer fields' %></TD>
+ <TD ALIGN="right"><% $opt{'label'} || 'Customer fields' %></TD>
<TD>
<TD>
- <%
=
include( '/elements/select-cust-fields.html', $cust_fields, %opt ) %>
+ <% include( '/elements/select-cust-fields.html', $cust_fields, %opt ) %>
</TD>
</TR>
</TD>
</TR>