X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Freason.html;h=7f62ada8476654831649ef67826484e5be5a1876;hb=c6d8896d882b684b1f3c7a2538a90358b27aaf89;hp=94141eea3bf7cfc0783ee10c7ed557503ec59fe3;hpb=9509e5bfb7f9331303153cac24d7bfecbe2ea9f1;p=freeside.git diff --git a/httemplate/browse/reason.html b/httemplate/browse/reason.html index 94141eea3..7f62ada84 100644 --- a/httemplate/browse/reason.html +++ b/httemplate/browse/reason.html @@ -1,9 +1,7 @@ <% include( 'elements/browse.html', 'title' => ucfirst($classname) . ' Reasons', - 'menubar' => [ # 'Main menu' => $p, - ucfirst($classname) . ' Reason Types' => - $p.'browse/reason_type.html?class='. - $class, + 'menubar' => [ ucfirst($classname).' Reason Types' => + $p."browse/reason_type.html?class=$class" ], 'html_init' => $html_init, 'name' => $classname . ' reasons', @@ -16,18 +14,12 @@ 'addl_from' => 'LEFT JOIN reason_type ON reason_type.typenum = reason.reason_type', }, 'count_query' => $count_query, - 'header' => [ '#', - ucfirst($classname) . ' Reason Type', - ucfirst($classname) . ' Reason', - ], - 'fields' => [ 'reasonnum', - sub { shift->reasontype->type }, - 'reason', - ], - 'links' => [ $link, - $link, - '', - ], + 'header' => \@header, + 'fields' => \@fields, + 'links' => \@links, + 'align' => $align, + 'html_form' => qq!
'; + %init>