[freeside-commits] freeside/httemplate/edit/process change-cust_pkg.html, 1.2, 1.3 cust_credit.cgi, 1.12, 1.13 cust_main.cgi, 1.49, 1.50 cust_pay.cgi, 1.19, 1.20 quick-charge.cgi, 1.21, 1.22 quick-cust_pkg.cgi, 1.25, 1.26
Erik Levinson
levinse at wavetail.420.am
Mon May 23 09:25:29 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv4782/edit/process
Modified Files:
change-cust_pkg.html cust_credit.cgi cust_main.cgi
cust_pay.cgi quick-charge.cgi quick-cust_pkg.cgi
Log Message:
internationalization/localization, RT12515
Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/cust_main.cgi,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -w -d -r1.49 -r1.50
--- cust_main.cgi 8 Apr 2011 18:10:21 -0000 1.49
+++ cust_main.cgi 23 May 2011 16:25:27 -0000 1.50
@@ -60,9 +60,6 @@
my $new = new FS::cust_main ( {
map {
$_, scalar($cgi->param($_))
-# } qw(custnum agentnum last first ss company address1 address2 city county
-# state zip daytime night fax payby payinfo paydate payname tax
-# otaker refnum)
} fields('cust_main')
} );
@@ -98,7 +95,6 @@
if ( $dt ) {
$parsed = $dt->epoch;
} else {
- # $error ||= $cgi->param('birthdate') . " is an invalid birthdate:" . $parser->errmsg;
$error ||= "Invalid $dfield: $value";
}
@@ -162,11 +158,7 @@
'pkgpart' => $pkgpart,
'locationnum' => scalar($cgi->param('locationnum')),
} );
- #$error ||= $cust_pkg->check;
- #$cust_svc = new FS::cust_svc ( { 'svcpart' => $svcpart } );
-
- #$error ||= $cust_svc->check;
my $part_svc = qsearchs('part_svc', { 'svcpart' => $svcpart } );
my $svcdb = $part_svc->svcdb;
@@ -219,8 +211,6 @@
die "$svcdb not handled on new customer yet";
}
- #$error ||= $svc_acct->check;
-
}
use Tie::RefHash;
Index: change-cust_pkg.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/change-cust_pkg.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- change-cust_pkg.html 4 Dec 2010 03:34:09 -0000 1.2
+++ change-cust_pkg.html 23 May 2011 16:25:27 -0000 1.3
@@ -3,7 +3,7 @@
% $cgi->redirect(popurl(3). 'misc/change_pkg.cgi?'. $cgi->query_string );
% } else {
- <% header("Package changed") %>
+ <% header(emt("Package changed")) %>
<SCRIPT TYPE="text/javascript">
window.top.location.reload();
</SCRIPT>
@@ -19,7 +19,6 @@
unless $curuser->access_right('Change customer package');
my $cust_pkg = qsearchs({
- #'select' => 'cust_pkg.*',
'table' => 'cust_pkg',
'addl_from' => 'LEFT JOIN cust_main USING ( custnum )',
'hashref' => { 'pkgnum' => scalar($cgi->param('pkgnum')), },
Index: cust_pay.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/cust_pay.cgi,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -w -d -r1.19 -r1.20
--- cust_pay.cgi 4 Nov 2010 17:09:31 -0000 1.19
+++ cust_pay.cgi 23 May 2011 16:25:27 -0000 1.20
@@ -11,7 +11,7 @@
% }
% if ( $link eq 'popup' ) {
%
-<% header('Payment entered') %>
+<% header(emt('Payment entered')) %>
<SCRIPT TYPE="text/javascript">
window.top.location.reload();
</SCRIPT>
Index: cust_credit.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/cust_credit.cgi,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -w -d -r1.12 -r1.13
--- cust_credit.cgi 13 Jan 2008 21:35:53 -0000 1.12
+++ cust_credit.cgi 23 May 2011 16:25:27 -0000 1.13
@@ -12,11 +12,10 @@
% or die "unknown custnum $custnum";
% $cust_main->apply_credits;
% }
-% #print $cgi->redirect(popurl(3). "view/cust_main.cgi?$custnum");
%
% $dbh->commit or die $dbh->errstr if $oldAutoCommit;
%
-<% header('Credit sucessful') %>
+<% header(emt('Credit sucessful')) %>
<SCRIPT TYPE="text/javascript">
window.top.location.reload();
</SCRIPT>
Index: quick-charge.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/quick-charge.cgi,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -w -d -r1.21 -r1.22
--- quick-charge.cgi 9 Apr 2010 08:18:24 -0000 1.21
+++ quick-charge.cgi 23 May 2011 16:25:27 -0000 1.22
@@ -2,7 +2,7 @@
% $cgi->param('error', $error );
<% $cgi->redirect($p.'quick-charge.html?'. $cgi->query_string) %>
% } else {
-<% header("One-time charge added") %>
+<% header(emt("One-time charge added")) %>
<SCRIPT TYPE="text/javascript">
window.top.location.reload();
</SCRIPT>
Index: quick-cust_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/quick-cust_pkg.cgi,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -w -d -r1.25 -r1.26
--- quick-cust_pkg.cgi 29 Apr 2011 12:10:19 -0000 1.25
+++ quick-cust_pkg.cgi 23 May 2011 16:25:27 -0000 1.26
@@ -97,7 +97,6 @@
: ''
),
'waive_setup' => ( $cgi->param('waive_setup') eq 'Y' ? 'Y' : '' ),
- #'discountnum_disabled' => scalar($cgi->param('discountnum_disabled')),
};
my %opt = ( 'cust_pkg' => $cust_pkg );
More information about the freeside-commits
mailing list