added refund reasons to main menu
[freeside.git] / httemplate / view / elements / svc_Common.html
index bc1cd45..65f373c 100644 (file)
@@ -50,6 +50,14 @@ function areyousure(href) {
 
 % } 
 
+% if ( $opt{radius_usage} ) {
+    <& svc_radius_usage.html,
+              'svc'      => $svc_x,
+              'part_svc' => $part_svc,
+              'cust_pkg' => $cust_pkg,
+    &>
+% }
+
 <% mt('Service #') |h %><B><% $svcnum %></B>
 % if ( $custnum ) {
 %   my $url = $opt{'edit_url'} || $p. 'edit/'. $opt{'table'}. '.cgi?';
@@ -70,9 +78,7 @@ function areyousure(href) {
 %       my $hack_strict_refs = \&{ $f->{'value_callback'} };
 %       $value = &$hack_strict_refs($svc_x);
 %     } else {
-%       $value = exists($f->{'value'})
-%                  ? $f->{'value'}
-%                  : encode_entities($svc_x->$field);
+%       $value = encode_entities($svc_x->$field);
 %     }
 %   } else {
 %     $field = $f;