[freeside-commits] freeside/httemplate/edit/process
quick-charge.cgi, 1.5, 1.6
Ivan,,,
ivan at wavetail.420.am
Fri Dec 8 05:36:09 PST 2006
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail:/tmp/cvs-serv30128/edit/process
Modified Files:
quick-charge.cgi
Log Message:
some javascript validation magic to give one-time charges better UI
Index: quick-charge.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/quick-charge.cgi,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- quick-charge.cgi 23 Aug 2006 22:25:37 -0000 1.5
+++ quick-charge.cgi 8 Dec 2006 13:36:07 -0000 1.6
@@ -5,7 +5,7 @@
% or die 'illegal custnum '. $cgi->param('custnum');
%my $custnum = $1;
%
-%$cgi->param('amount') =~ /^\s*(\d+(\.\d{1,2})?)\s*$/
+%$cgi->param('amount') =~ /^\s*\$?\s*(\d+(\.\d{1,2})?)\s*$/
% or die 'illegal amount '. $cgi->param('amount');
%my $amount = $1;
%
More information about the freeside-commits
mailing list