[freeside-commits] freeside/httemplate/elements select-did.html, 1.7.4.2, 1.7.4.3
Erik Levinson
levinse at wavetail.420.am
Mon Jan 10 18:03:47 PST 2011
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv26229/httemplate/elements
Modified Files:
Tag: FREESIDE_2_1_BRANCH
select-did.html
Log Message:
Vitelity API improvements for toll-free and vfax, RT11009
Index: select-did.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/select-did.html,v
retrieving revision 1.7.4.2
retrieving revision 1.7.4.3
diff -u -w -d -r1.7.4.2 -r1.7.4.3
--- select-did.html 10 Jan 2011 19:46:13 -0000 1.7.4.2
+++ select-did.html 11 Jan 2011 02:03:45 -0000 1.7.4.3
@@ -13,6 +13,9 @@
</%doc>
% if ( $use_selector ) {
+% if ( $export->exporttype eq 'vitelity' &&
+% ( $export->option('restrict_selection') eq 'non-tollfree'
+% || !$export->option('restrict_selection')) ) {
<TABLE>
<TR>
@@ -59,8 +62,11 @@
</TABLE>
-% if ( $tollfree ) {
- or toll-free
+% }
+% if ( $export->exporttype eq 'vitelity' &&
+% ( $export->option('restrict_selection') eq 'tollfree'
+% || !$export->option('restrict_selection')) ) {
+ <font size="-1">Toll-free</font>
<% include('/elements/select-phonenum.html',
'svcpart' => $svcpart,
'empty' => 'Select phone number',
@@ -113,8 +119,8 @@
my $use_selector = scalar(@exports) ? 1 : 0;
-my $tollfree = 0;
-$tollfree = 1 if (scalar(@exports) && $exports[0]->exporttype eq 'vitelity');
+my $export;
+$export = $exports[0] if scalar(@exports);
my $bulknum = $opt{'bulknum'} || 0;
More information about the freeside-commits
mailing list