X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Felements%2Fsvc_Common.html;h=618d33eed338971b5ee0101212265f19c067e802;hp=8a352f3fa2a6cc51e04d8daf48cf4e28af94e9f3;hb=2d73473ce78c22160b618e93802a9551c9c77d69;hpb=36c606eedba19978d1b5e0e1bf30d3069f28be64 diff --git a/httemplate/view/elements/svc_Common.html b/httemplate/view/elements/svc_Common.html index 8a352f3fa..618d33eed 100644 --- a/httemplate/view/elements/svc_Common.html +++ b/httemplate/view/elements/svc_Common.html @@ -18,6 +18,10 @@ # defaults to "edit/$table.cgi?", will have svcnum appended 'edit_url' => + + #at the very bottom (well, as low as you can go from here) + 'html_foot' => '', + ) @@ -56,12 +60,14 @@ Unprovision this Service % foreach my $f ( @$fields ) { % -% my($field, $type); +% my($field, $type, $value); % if ( ref($f) ) { % $field = $f->{'field'}, +% $value = $f->{'value'} ? &{ $f->{'value'} }($svc_x) : $svc_x->$field; % $type = $f->{'type'} || 'text', % } else { % $field = $f; +% $value = $svc_x->$field; % $type = 'text'; % } % @@ -78,7 +84,7 @@ Unprovision this Service % #eventually more options for