projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 82949 - changes section name from fees to pricing, better opiton
[freeside.git]
/
httemplate
/
misc
/
change_pkg.cgi
diff --git
a/httemplate/misc/change_pkg.cgi
b/httemplate/misc/change_pkg.cgi
index
c588c9e
..
9729c6b
100755
(executable)
--- a/
httemplate/misc/change_pkg.cgi
+++ b/
httemplate/misc/change_pkg.cgi
@@
-119,9
+119,21
@@
'form' => "OrderPkgForm",
'with_census' => 1,
'with_census_functions' => 1,
'form' => "OrderPkgForm",
'with_census' => 1,
'with_census_functions' => 1,
- 'callback' => 'document.OrderPkgForm.submit()',
+ 'callback' => $conf->exists('tax_district_method')
+ ? 'wa_state_tax_district()'
+ : 'submit_continue()',
&>
&>
+<script>
+ <& /elements/wa_state_tax_district.js &>
+
+ // wa_sate_tax_district() will call submit_continue() upon success,
+ // or submit_abort() upon error
+ function submit_continue() {
+ document.OrderPkgForm.submit();
+ }
+</script>
+
<INPUT NAME = "submitButton"
TYPE = "button"
VALUE = "<% mt("Change package") |h %>"
<INPUT NAME = "submitButton"
TYPE = "button"
VALUE = "<% mt("Change package") |h %>"