[freeside-commits] branch master updated. 3912de349e9726339d1a357cfc6b96c329c09e60

Ivan ivan at 420.am
Wed Apr 15 11:12:37 PDT 2015


The branch, master has been updated
       via  3912de349e9726339d1a357cfc6b96c329c09e60 (commit)
      from  66658ac3b3d67333970a500c842a566cad561321 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3912de349e9726339d1a357cfc6b96c329c09e60
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Apr 15 11:12:36 2015 -0700

    add "All dates" format to package import with contract_end, RT#34397

diff --git a/FS/FS/cust_pkg/Import.pm b/FS/FS/cust_pkg/Import.pm
index 082def0..301930c 100644
--- a/FS/FS/cust_pkg/Import.pm
+++ b/FS/FS/cust_pkg/Import.pm
@@ -100,6 +100,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 )],
diff --git a/httemplate/misc/cust_pkg-import.html b/httemplate/misc/cust_pkg-import.html
index 1ec5930..c1c1b8b 100644
--- a/httemplate/misc/cust_pkg-import.html
+++ b/httemplate/misc/cust_pkg-import.html
@@ -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>

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_pkg/Import.pm             |    1 +
 httemplate/misc/cust_pkg-import.html |    5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list