add "All dates" format to package import with contract_end, RT#34397
authorIvan Kohler <ivan@freeside.biz>
Wed, 15 Apr 2015 18:12:38 +0000 (11:12 -0700)
committerIvan Kohler <ivan@freeside.biz>
Wed, 15 Apr 2015 18:12:38 +0000 (11:12 -0700)
FS/FS/cust_pkg/Import.pm
httemplate/misc/cust_pkg-import.html

index f9cf1cb..b806210 100644 (file)
@@ -103,6 +103,7 @@ sub process_batch_import {
 
 my %formatfields = (
   'default'      => [],
+  'all_dates'    => [],
   'svc_acct'     => [qw( username _password domsvc )],
   'svc_phone'    => [qw( countrycode phonenum sip_password pin )],
   'svc_external' => [qw( id title )],
index 1ec5930..c1c1b8b 100644 (file)
@@ -29,8 +29,8 @@ Import a file containing customer packages.
       <SELECT NAME="format">
         <OPTION VALUE="default" SELECTED>Default
         <OPTION VALUE="default-agent_custid">Default with agent_custid
-        <OPTION VALUE="all_dates" SELECTED>All dates
-        <OPTION VALUE="all_dates-agent_custid" SELECTED>All dates with agent_custid
+        <OPTION VALUE="all_dates">All dates
+        <OPTION VALUE="all_dates-agent_custid">All dates with agent_custid
         <OPTION VALUE="svc_acct">Account service
         <OPTION VALUE="svc_acct-agent_custid">Account service with agent_custid
         <OPTION VALUE="svc_phone">Phone service
@@ -77,6 +77,7 @@ Uploaded files can be CSV (comma-separated value) files or Excel spreadsheets.
 <BR><BR>
 
 <b>All dates with agent_custid</b> format has the following field order: <i>agent_custid<%$req%>, pkgpart<%$req%>, discountnum, order_date, start_date, setup, bill, last_bill, susp, adjourn, resume, cancel, expire, contract_end, dundate</i>
+<BR><BR>
 
 <b>Account service</b> format has the following field order: <i>custnum<%$req%>, pkgpart<%$req%>, discountnum, start_date, setup, bill, last_bill, susp, adjourn, cancel, expire, username, _password, domsvc</i>
 <BR><BR>