projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
568e89d
)
fix fill-in of credit amount when there aren't tax buttons
author
ivan
<ivan>
Sat, 19 Dec 2009 22:52:47 +0000
(22:52 +0000)
committer
ivan
<ivan>
Sat, 19 Dec 2009 22:52:47 +0000
(22:52 +0000)
httemplate/edit/elements/ApplicationCommon.html
patch
|
blob
|
history
diff --git
a/httemplate/edit/elements/ApplicationCommon.html
b/httemplate/edit/elements/ApplicationCommon.html
index
ba352fd
..
4595705
100644
(file)
--- a/
httemplate/edit/elements/ApplicationCommon.html
+++ b/
httemplate/edit/elements/ApplicationCommon.html
@@
-105,7
+105,7
@@
function changed(what) {
if ( dst == '' ) {
what.form.submit.disabled=true;
if ( dst == '' ) {
what.form.submit.disabled=true;
-%if ($src_pkey eq 'crednum') {
+%if ($
use_sub_dst_thing && $
src_pkey eq 'crednum') {
what.form.tax_button.disabled=true;
what.form.clear_button.disabled=true;
%}
what.form.tax_button.disabled=true;
what.form.clear_button.disabled=true;
%}
@@
-113,7
+113,7
@@
function changed(what) {
}
what.form.submit.disabled=false;
}
what.form.submit.disabled=false;
-%if ($src_pkey eq 'crednum') {
+%if ($
use_sub_dst_thing && $
src_pkey eq 'crednum') {
what.form.tax_button.disabled=false;
what.form.clear_button.disabled=false;
%}
what.form.tax_button.disabled=false;
what.form.clear_button.disabled=false;
%}