1 <% include( '/elements/header.html', 'Copy rates between plans', menubar(
2 'View all rate plans' => "${p}browse/rate.cgi",
6 <% include('/elements/error.html') %>
8 <FORM ACTION="process/copy-rate_detail.html">
10 <% ntable('#cccccc') %>
12 <% include( '/elements/tr-justtitle.html', 'value' => 'Copy rates' ) %>
14 <% include( '/elements/tr-select-rate.html',
15 'label' => 'From rate plan',
16 'element_name' => 'src_ratenum',
20 <% include( '/elements/tr-select-rate.html',
21 'label' => 'To rate plan',
22 'element_name' => 'dst_ratenum',
27 <TD COLSPAN=2>Copy country codes</TD>
33 <% include( '/elements/checkboxes.html',
34 'names_list' => [ FS::rate_prefix->all_countrycodes ],
35 'element_name_prefix' => 'countrycode',
42 <TD COLSPAN=2 ALIGN="center">
43 <INPUT TYPE="submit" VALUE="Copy rates">
51 <% include('/elements/footer.html') %>
56 unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
58 #should have some javascript that enables submit button only when both src & dst