diff options
author | Ivan Kohler <ivan@freeside.biz> | 2019-08-05 16:13:23 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2019-08-05 16:13:23 -0700 |
commit | c49cfd25a8f92c7a2f44b51d72506a21f6b8d09f (patch) | |
tree | 3422acfc3352e02bb2897c0e478f043900362b1f /httemplate/edit | |
parent | d2a42bce5c5557966cc0f0966e4b9d14fff576a0 (diff) |
show imported region and rate #s, RT#83146
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/rate.cgi | 9 | ||||
-rw-r--r-- | httemplate/edit/rate_region.cgi | 13 |
2 files changed, 18 insertions, 4 deletions
diff --git a/httemplate/edit/rate.cgi b/httemplate/edit/rate.cgi index 5bfc108c1..c0e8d93f0 100644 --- a/httemplate/edit/rate.cgi +++ b/httemplate/edit/rate.cgi @@ -24,8 +24,15 @@ empty_label => '(global)', &> +% if ( $rate->agent_rateid ) { + <TR> + <TH ALIGN="right">Legacy #</TH> + <TD><% $rate->agent_rateid |h %></TD> + </TR> +% } + <TR> - <TD>Rate plan</TD> + <TH>Rate plan</TH> <TD><INPUT TYPE="text" NAME="ratename" SIZE=32 VALUE="<% $rate->ratename %>"></TD> </TR> </TABLE> diff --git a/httemplate/edit/rate_region.cgi b/httemplate/edit/rate_region.cgi index a1c1bcb7d..b50d2daba 100644 --- a/httemplate/edit/rate_region.cgi +++ b/httemplate/edit/rate_region.cgi @@ -11,7 +11,14 @@ %# region info -<% ntable('#cccccc') %> +<TABLE CLASS="fsinnerbox"> + +% if ( $rate_region->agent_regionid ) { + <TR> + <TH ALIGN="right">Legacy #</TH> + <TD><% $rate_region->agent_regionid |h %></TD> + </TR> +% } <TR> <TH ALIGN="right">Region name</TH> @@ -24,10 +31,10 @@ </TR> <TR> - <TD ALIGN="right"> + <TH ALIGN="right"> <B>Prefixes</B> <BR><FONT SIZE="-1">(comma-separated)</FONT> - </TD> + </TH> <TD> <TEXTAREA NAME="npa" WRAP=SOFT><% join(', ', map { $_->npa. (length($_->nxx) ? '-'.$_->nxx : '') } @rate_prefix ) %></TEXTAREA> </TD> |