projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add quantity validation for one-time charge. See RT#37675.
[freeside.git]
/
httemplate
/
edit
/
quick-charge.html
diff --git
a/httemplate/edit/quick-charge.html
b/httemplate/edit/quick-charge.html
index
af6fd41
..
2d38203
100644
(file)
--- a/
httemplate/edit/quick-charge.html
+++ b/
httemplate/edit/quick-charge.html
@@
-449,10
+449,19
@@
function bill_now_changed (what) {
</SCRIPT>
</SCRIPT>
+%my %footer_args = (
+% formvalidation => {
+% QuickChargeForm => {
+% validate_fields => {
+% quantity => 'digits: true, min: 1, required: true',
+% },
+% },
+% },
+%);
% if ( $quotationnum ) {
% if ( $quotationnum ) {
- <& /elements/footer.html &>
+ <& /elements/footer.html
, %footer_args
&>
% } else {
% } else {
- <& /elements/footer-cust_main.html &>
+ <& /elements/footer-cust_main.html
, %footer_args
&>
% }
<%init>
% }
<%init>