summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorivan <ivan>2006-12-08 13:36:07 +0000
committerivan <ivan>2006-12-08 13:36:07 +0000
commitd8c39492e9192d9c66858d21c6c69b069968eec7 (patch)
tree0e4da92ba06abab434869ea7be8d4f3784d57e51 /httemplate/edit
parent821383d1b4dc45fa37c8ff651329b4855972ff29 (diff)
some javascript validation magic to give one-time charges better UI
Diffstat (limited to 'httemplate/edit')
-rw-r--r--httemplate/edit/process/quick-charge.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/process/quick-charge.cgi b/httemplate/edit/process/quick-charge.cgi
index 70778c1cc..cb2654bb5 100644
--- a/httemplate/edit/process/quick-charge.cgi
+++ b/httemplate/edit/process/quick-charge.cgi
@@ -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;
%