summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--httemplate/edit/quick-charge.html13
-rw-r--r--httemplate/elements/footer-cust_main.html2
2 files changed, 12 insertions, 3 deletions
diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html
index af6fd417d..2d38203fa 100644
--- a/httemplate/edit/quick-charge.html
+++ b/httemplate/edit/quick-charge.html
@@ -449,10 +449,19 @@ function bill_now_changed (what) {
</SCRIPT>
+%my %footer_args = (
+% formvalidation => {
+% QuickChargeForm => {
+% validate_fields => {
+% quantity => 'digits: true, min: 1, required: true',
+% },
+% },
+% },
+%);
% if ( $quotationnum ) {
- <& /elements/footer.html &>
+ <& /elements/footer.html, %footer_args &>
% } else {
- <& /elements/footer-cust_main.html &>
+ <& /elements/footer-cust_main.html, %footer_args &>
% }
<%init>
diff --git a/httemplate/elements/footer-cust_main.html b/httemplate/elements/footer-cust_main.html
index c9a9cc215..9349c1d04 100644
--- a/httemplate/elements/footer-cust_main.html
+++ b/httemplate/elements/footer-cust_main.html
@@ -1,2 +1,2 @@
</DIV>
-<& /elements/footer.html &>
+<& /elements/footer.html, %ARGS &>