[freeside-commits] freeside/FS/FS/part_export shellcommands.pm, 1.57, 1.57.4.1
Mark Wells
mark at wavetail.420.am
Thu Sep 15 17:15:49 PDT 2011
- Previous message: [freeside-commits] freeside/FS/FS/L10N en_ca.pm, NONE, 1.1.2.2 en_us.pm, 1.1, 1.1.2.1 fr_ca.pm, NONE, 1.1.2.2 fr_fr.pm, NONE, 1.1.2.2
- Next message: [freeside-commits] freeside/conf invoice_html, 1.37.2.2, 1.37.2.3 invoice_latex, 1.44.2.2, 1.44.2.3 invoice_template, 1.4, 1.4.8.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/FS/part_export
In directory wavetail.420.am:/tmp/cvs-serv30348/FS/FS/part_export
Modified Files:
Tag: FREESIDE_2_3_BRANCH
shellcommands.pm
Log Message:
invoice template and config localization, #12367
Index: shellcommands.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export/shellcommands.pm,v
retrieving revision 1.57
retrieving revision 1.57.4.1
diff -u -w -d -r1.57 -r1.57.4.1
--- shellcommands.pm 10 Sep 2010 19:31:15 -0000 1.57
+++ shellcommands.pm 16 Sep 2011 00:15:47 -0000 1.57.4.1
@@ -193,7 +193,7 @@
<LI><code>$pkgnum</code>
<LI><code>$custnum</code>
<LI>All other fields in <b>svc_acct</b> are also available.
- <LI>The following fields from <b>cust_main</b> are also available (except during replace): company, address1, address2, city, state, zip, county, daytime, night, fax, otaker, agent_custid. When used on the command line (rather than STDIN), they will be quoted for the shell already (do not add additional quotes).
+ <LI>The following fields from <b>cust_main</b> are also available (except during replace): company, address1, address2, city, state, zip, county, daytime, night, fax, otaker, agent_custid, locale. When used on the command line (rather than STDIN), they will be quoted for the shell already (do not add additional quotes).
</UL>
END
);
@@ -263,7 +263,7 @@
{
no strict 'refs';
foreach my $custf (qw( company address1 address2 city state zip country
- daytime night fax otaker agent_custid
+ daytime night fax otaker agent_custid locale
))
{
${$custf} = $cust_pkg->cust_main->$custf();
@@ -343,6 +343,7 @@
$fax = shell_quote $fax;
$otaker = shell_quote $otaker;
$agent_custid = shell_quote $agent_custid;
+ $locale = shell_quote $locale;
my $command_string = eval(qq("$command"));
my @ssh_cmd_args = (
@@ -419,6 +420,7 @@
if $error;
$new_agent_custid = $new_cust_main ? $new_cust_main->agent_custid : '';
+ $new_locale = $new_cust_main ? $new_cust_main->locale : '';
$old_pkgnum = $old_cust_pkg ? $old_cust_pkg->pkgnum : '';
$old_custnum = $old_cust_pkg ? $old_cust_pkg->custnum : '';
$new_pkgnum = $new_cust_pkg ? $new_cust_pkg->pkgnum : '';
@@ -432,6 +434,7 @@
$new_crypt_password = shell_quote $new_crypt_password;
$new_ldap_password = shell_quote $new_ldap_password;
$new_agent_custid = shell_quote $new_agent_custid;
+ $new_locale = shell_quote $new_locale;
my $command_string = eval(qq("$command"));
- Previous message: [freeside-commits] freeside/FS/FS/L10N en_ca.pm, NONE, 1.1.2.2 en_us.pm, 1.1, 1.1.2.1 fr_ca.pm, NONE, 1.1.2.2 fr_fr.pm, NONE, 1.1.2.2
- Next message: [freeside-commits] freeside/conf invoice_html, 1.37.2.2, 1.37.2.3 invoice_latex, 1.44.2.2, 1.44.2.3 invoice_template, 1.4, 1.4.8.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list