[freeside-commits] freeside/httemplate/misc tax-import.cgi, 1.8, 1.8.2.1

Jeff Finucane,420,, jeff at wavetail.420.am
Mon Feb 15 18:19:40 PST 2010


Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv32273/httemplate/misc

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	tax-import.cgi 
Log Message:
refactor cch tax import to remove tons of false laziness and improve flexibility; allow reload from local files

Index: tax-import.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/tax-import.cgi,v
retrieving revision 1.8
retrieving revision 1.8.2.1
diff -u -d -r1.8 -r1.8.2.1
--- tax-import.cgi	13 May 2009 22:27:42 -0000	1.8
+++ tax-import.cgi	16 Feb 2010 02:19:38 -0000	1.8.2.1
@@ -7,7 +7,7 @@
               'name'      => 'TaxRateUpload',
               'action'    => 'process/tax-import.cgi', 
               'num_files' => 6,
-              'fields'    => [ 'format', ],
+              'fields'    => [ 'format', 'reload' ],
               'message'   => 'Tax rates imported',
           )
 %>
@@ -18,14 +18,21 @@
     <TH ALIGN="right">Format</TH>
     <TD>
       <SELECT NAME="format">
-        <OPTION VALUE="cch-update" SELECTED>CCH update (CSV)
-        <OPTION VALUE="cch">CCH initial import (CSV)
-        <OPTION VALUE="cch-fixed-update">CCH update (fixed length)
-        <OPTION VALUE="cch-fixed">CCH initial import (fixed length)
+        <!-- <OPTION VALUE="cch-update" SELECTED>CCH update (CSV) -->
+        <OPTION VALUE="cch">CCH import (CSV)
+        <!-- <OPTION VALUE="cch-fixed-update">CCH update (fixed length) -->
+        <OPTION VALUE="cch-fixed">CCH import (fixed length)
       </SELECT>
     </TD>
   </TR>
 
+  <TR>
+    <TH ALIGN="right">Replace existing data from this vendor</TH>
+    <TD>
+      <INPUT NAME="reload" TYPE="checkbox" VALUE="1" CHECKED>
+    </TD>
+  </TR>
+
   <% include( '/elements/file-upload.html',
                 'field'    => [ 'geofile',
                                 'codefile',



More information about the freeside-commits mailing list