projects
/
freeside.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
JSON::XS -> Cpanel::JSON::XS
[freeside.git]
/
httemplate
/
elements
/
tr-fixed-cust_main.html
1
% if ( $cust_main ) {
2
<% include('tr-fixed.html', %opt ) %>
3
% }
4
<%init>
5
6
my %opt = @_;
7
8
my $value = $opt{'curr_value'} || $opt{'value'};
9
10
my $cust_main = $value ? qsearchs('cust_main', {custnum=>$value} )
11
: '';
12
13
$opt{'formatted_value'} = $cust_main->name if $cust_main;
14
15
</%init>