[freeside-commits] freeside/httemplate/misc copy-rate_detail.html, NONE, 1.1
Ivan,,,
ivan at wavetail.420.am
Sun Jan 4 16:26:56 PST 2009
Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv7561/httemplate/misc
Added Files:
copy-rate_detail.html
Log Message:
add rate copying, RT#4431
--- NEW FILE: copy-rate_detail.html ---
<% include( '/elements/header.html', 'Copy rates between plans', menubar(
'View all rate plans' => "${p}browse/rate.cgi",
))
%>
<% include('/elements/error.html') %>
<FORM ACTION="process/copy-rate_detail.html">
<% ntable('#cccccc') %>
<% include( '/elements/tr-justtitle.html', 'value' => 'Copy rates' ) %>
<% include( '/elements/tr-select-rate.html',
'label' => 'From rate plan',
'element_name' => 'src_ratenum',
)
%>
<% include( '/elements/tr-select-rate.html',
'label' => 'To rate plan',
'element_name' => 'dst_ratenum',
)
%>
<TR>
<TD COLSPAN=2>Copy country codes</TD>
</TR>
<TR>
<TD COLSPAN=2>
<% include( '/elements/checkboxes.html',
'names_list' => [ FS::rate_prefix->all_countrycodes ],
'element_name_prefix' => 'countrycode',
)
%>
</TD>
</TR>
<TR>
<TD COLSPAN=2 ALIGN="center">
<INPUT TYPE="submit" VALUE="Copy rates">
</TD>
</TR>
</TABLE>
</FORM>
<% include('/elements/footer.html') %>
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
#should have some javascript that enables submit button only when both src & dst
#rates are chosen
</%init>
More information about the freeside-commits
mailing list