From 9f2220031123f06ab275840a3129c9807b9a782a Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 28 Aug 2012 02:06:15 -0700 Subject: [PATCH] add slipip to "National ID..." import format, RT#18946 --- FS/FS/cust_main/Import.pm | 4 ++-- httemplate/misc/cust_main-import.cgi | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/FS/FS/cust_main/Import.pm b/FS/FS/cust_main/Import.pm index 19c0d52a4..eadcc1a55 100644 --- a/FS/FS/cust_main/Import.pm +++ b/FS/FS/cust_main/Import.pm @@ -224,7 +224,7 @@ sub batch_import { payinfo paycvv paydate invoicing_list cust_pkg.pkgpart cust_pkg.bill - svc_acct.username svc_acct._password + svc_acct.username svc_acct._password svc_acct.slipip ); push @fields, map "svc_phone.$_", qw(countrycode phonenum sip_password pin); @@ -336,7 +336,7 @@ sub batch_import { $cust_pkg{$1} = parse_datetime( shift @columns ); } - } elsif ( $field =~ /^svc_acct\.(username|_password)$/ ) { + } elsif ( $field =~ /^svc_acct\.(username|_password|slipip)$/ ) { $svc_x{$1} = shift @columns; diff --git a/httemplate/misc/cust_main-import.cgi b/httemplate/misc/cust_main-import.cgi index a5f1d1153..d56feaccf 100644 --- a/httemplate/misc/cust_main-import.cgi +++ b/httemplate/misc/cust_main-import.cgi @@ -111,7 +111,7 @@ Uploaded files can be CSV (comma-separated value) files or Excel spreadsheets. Birthdates and account, phone and hardware services format has the following field order: agent_custid, refnum<%$req%>, last<%$req%>, first<%$req%>, company, address1<%$req%>, address2, city<%$req%>, state<%$req%>, zip<%$req%>, country, daytime, night, ship_last, ship_first, ship_company, ship_address1, ship_address2, ship_city, ship_state, ship_zip, ship_country, birthdate, spouse_birthdate, payinfo, paycvv, paydate, invoicing_list, pkgpart, next_bill_date, username, _password, countrycode, phonenum, sip_password, pin, typenum, ip_addr, hw_addr, serial

-National ID, plus account and phone services format has the following field order: agent_custid, refnum<%$req%>, last<%$req%>, first<%$req%>, company, address1<%$req%>, address2, city<%$req%>, state<%$req%>, zip<%$req%>, country, daytime, night, ship_last, ship_first, ship_company, ship_address1, ship_address2, ship_city, ship_state, ship_zip, ship_country, national_id, payinfo, paycvv, paydate, invoicing_list, pkgpart, next_bill_date, username, _password, countrycode, phonenum, sip_password, pin +National ID, plus account and phone services format has the following field order: agent_custid, refnum<%$req%>, last<%$req%>, first<%$req%>, company, address1<%$req%>, address2, city<%$req%>, state<%$req%>, zip<%$req%>, country, daytime, night, ship_last, ship_first, ship_company, ship_address1, ship_address2, ship_city, ship_state, ship_zip, ship_country, national_id, payinfo, paycvv, paydate, invoicing_list, pkgpart, next_bill_date, username, _password, slipip, countrycode, phonenum, sip_password, pin

<%$req%> Required fields @@ -139,6 +139,8 @@ advertising source table.
  • username and _password are required if pkgpart is specified. (Extended and Extended plus company formats) +
  • slipip: IP address +
  • id: External service id, integer
  • title: External service identifier, text -- 2.11.0