[freeside-commits] freeside/httemplate/misc phone_avail-import.html, 1.7, 1.8
Erik Levinson
levinse at wavetail.420.am
Fri Apr 22 16:17:41 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv5919/httemplate/misc
Modified Files:
phone_avail-import.html
Log Message:
bulk DID orders/inventory improvements, RT11291
Index: phone_avail-import.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/phone_avail-import.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -w -d -r1.7 -r1.8
--- phone_avail-import.html 11 Apr 2011 23:31:57 -0000 1.7
+++ phone_avail-import.html 22 Apr 2011 23:17:39 -0000 1.8
@@ -45,6 +45,16 @@
<TD><% $format %><INPUT TYPE="hidden" NAME="format" VALUE="<% $format %>"></TD>
</TR>
+% if ( scalar(@exports) == 1 ) {
+% my $export = $exports[0];
+ <TR>
+ <TD>Export</TD>
+ <TD>
+ <INPUT TYPE="hidden" name="exportnum" value="<%$export->exportnum%>">
+ <% $export->exportname %>
+ </TD>
+ </TR>
+% } else {
<% include( '/elements/tr-select-table.html',
'table' => 'part_export',
'name_col' => 'label',
@@ -55,6 +65,7 @@
#'label_callback' =>
)
%>
+% }
<TR>
<TH ALIGN="right">Country code</TH>
@@ -146,4 +157,6 @@
my $availbatch =
time2str('webimport-%Y/%m/%d-%T'. "-$$-". rand() * 2**32, time);
+my @exports = qsearch('part_export', { 'exporttype' => 'internal_diddb', });
+
</%init>
More information about the freeside-commits
mailing list