X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Felements%2FApplicationCommon.html;h=acc3368b8cee466092dce461ea85f7b8f4651fc5;hb=98652f79fc4fff916a46bc94d6301b24bcd13df3;hp=ba352fdfb7d8c89ff12cd6b0db384af9b81f349c;hpb=fafdaeca1af0771cefd8f6707b0f75ee8a33f03a;p=freeside.git
diff --git a/httemplate/edit/elements/ApplicationCommon.html b/httemplate/edit/elements/ApplicationCommon.html
index ba352fdfb..acc3368b8 100644
--- a/httemplate/edit/elements/ApplicationCommon.html
+++ b/httemplate/edit/elements/ApplicationCommon.html
@@ -54,7 +54,7 @@ Examples:
Date: |
- <% time2str("%D", $src->_date) %> |
+ <% time2str($date_format, $src->_date) %> |
@@ -105,7 +105,7 @@ function changed(what) {
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;
%}
@@ -113,7 +113,7 @@ function changed(what) {
}
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;
%}
@@ -354,7 +354,7 @@ function src_amount_changed () {