diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2019-08-05 16:13:26 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2019-08-05 16:13:26 -0700 |
| commit | e56c9ccf3402379423bb800fc8db9b1f718813f0 (patch) | |
| tree | 23a4425314fd332f7dfea2ef7ea7763f0961e968 /httemplate/edit | |
| parent | f8ab34b9ef9c25f2a3aaf623f5cee9bcaaa66289 (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> |
