[freeside-commits] freeside/httemplate/edit cust_pay.cgi, 1.30, 1.31 REAL_cust_pkg.cgi, 1.24, 1.25
Ivan,,,
ivan at wavetail.420.am
Fri Apr 9 01:18:26 PDT 2010
- Previous message: [freeside-commits] freeside/httemplate/misc/process delay_susp_pkg.html, 1.1, 1.2 cancel_pkg.html, 1.9, 1.10
- Next message: [freeside-commits] freeside/httemplate/edit/process quick-cust_pkg.cgi, 1.18, 1.19 cust_pay.cgi, 1.15, 1.16 REAL_cust_pkg.cgi, 1.14, 1.15 cust_main.cgi, 1.42, 1.43 quick-charge.cgi, 1.20, 1.21
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv7332/httemplate/edit
Modified Files:
cust_pay.cgi REAL_cust_pkg.cgi
Log Message:
fix date parsing when using international dates (package date edit), RT#8027
Index: REAL_cust_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/REAL_cust_pkg.cgi,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -w -d -r1.24 -r1.25
--- REAL_cust_pkg.cgi 9 Mar 2010 08:05:39 -0000 1.24
+++ REAL_cust_pkg.cgi 9 Apr 2010 08:18:24 -0000 1.25
@@ -187,9 +187,9 @@
$cust_pkg = qsearchs('cust_pkg',{'pkgnum'=>$pkgnum});
die "No package!" unless $cust_pkg;
- foreach my $col (qw( setup last_bill bill adjourn expire )) {
+ foreach my $col (qw( start_date setup last_bill bill adjourn expire )) {
my $value = $cgi->param($col);
- $cust_pkg->set( $col, $value ? str2time($value) : '' );
+ $cust_pkg->set( $col, $value ? parse_datetime($value) : '' );
}
} else {
Index: cust_pay.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_pay.cgi,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -w -d -r1.30 -r1.31
--- cust_pay.cgi 8 Mar 2010 10:57:06 -0000 1.30
+++ cust_pay.cgi 9 Apr 2010 08:18:24 -0000 1.31
@@ -113,7 +113,7 @@
$paid = $cgi->param('paid');
$payby = $cgi->param('payby');
$payinfo = $cgi->param('payinfo');
- $_date = $cgi->param('_date') ? str2time($cgi->param('_date')) : time;
+ $_date = $cgi->param('_date') ? parse_datetime($cgi->param('_date')) : time;
} elsif ( $cgi->param('custnum') =~ /^(\d+)$/ ) {
$link = $cgi->param('popup') ? 'popup' : 'custnum';
$linknum = $1;
- Previous message: [freeside-commits] freeside/httemplate/misc/process delay_susp_pkg.html, 1.1, 1.2 cancel_pkg.html, 1.9, 1.10
- Next message: [freeside-commits] freeside/httemplate/edit/process quick-cust_pkg.cgi, 1.18, 1.19 cust_pay.cgi, 1.15, 1.16 REAL_cust_pkg.cgi, 1.14, 1.15 cust_main.cgi, 1.42, 1.43 quick-charge.cgi, 1.20, 1.21
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list