X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Frate_region.cgi;h=9ca3a3569a67aae2e48d91d1fdaebf3211daf096;hb=bdf4497fd8d3778e9cc0f8b90dd8a742f3a84158;hp=c58fc80656885dddd7bd351d2d46d3022f27c195;hpb=d9a8f186ad87e9b19da7383f88ab5eb0b614a138;p=freeside.git diff --git a/httemplate/edit/rate_region.cgi b/httemplate/edit/rate_region.cgi index c58fc8065..9ca3a3569 100644 --- a/httemplate/edit/rate_region.cgi +++ b/httemplate/edit/rate_region.cgi @@ -29,7 +29,7 @@
(comma-separated) - + @@ -57,6 +57,9 @@ Granularity + + Usage class + % foreach my $rate ( qsearch('rate', {}) ) { @@ -85,7 +88,7 @@ - $min_charge ) %>"> + $min_charge |h %>"> @@ -96,6 +99,19 @@ + + <% include( '/elements/select-table.html', + 'element_name' => "classnum$n", + 'table' => 'usage_class', + 'name_col' => 'classname', + 'empty_label' => '(default)', + 'hashref' => { disabled => '' }, + 'curr_value' => ( $cgi->param("classnum$n") || + $rate_detail->classnum ), + ) + %> + + % }