diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-01-25 19:47:54 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-01-25 19:47:54 -0800 |
commit | db3e520bad7240b3f6f0d53a2b55a64ef116890b (patch) | |
tree | 69d34d8fb72f895482efd5bda7863c10d7057d3f /httemplate/elements/tr-select-did.html | |
parent | e94760d804c5638ecbd1487e8c3a2797f0034846 (diff) |
allow manual override of phone number, RT#19883
Diffstat (limited to 'httemplate/elements/tr-select-did.html')
-rw-r--r-- | httemplate/elements/tr-select-did.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/elements/tr-select-did.html b/httemplate/elements/tr-select-did.html index 987ade689..2aa712f79 100644 --- a/httemplate/elements/tr-select-did.html +++ b/httemplate/elements/tr-select-did.html @@ -1,6 +1,6 @@ <% include('tr-td-label.html', @_ ) %> -% if ( $opt{'curr_value'} ne '' && $use_selector ) { +% if ( $use_selector && $opt{'curr_value'} ne '' && ! $can_edit ) { <TD BGCOLOR="#dddddd" <% $cell_style %>><% $opt{'formatted_value'} || $opt{'curr_value'} || $opt{'value'} |h %></TD> @@ -38,4 +38,6 @@ if ( scalar(@exports) > 1 ) { my $use_selector = scalar(@exports) ? 1 : 0; +my $can_edit = scalar(@exports) && $exports[0]->get_dids_can_edit; + </%init> |