X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fct%2Fform_footer.html;h=0291b806be386a2171638bfef7f7903e519e150c;hb=bd297209d37048c0165ce6bfdd847af90ce4fc28;hp=0fc528913363a37764bb338061930133592ba46b;hpb=b61f5c3df68e3a3b4fb6a8a287172b0989215748;p=kivitendo-erp.git
diff --git a/templates/webpages/ct/form_footer.html b/templates/webpages/ct/form_footer.html
index 0fc528913..0291b806b 100644
--- a/templates/webpages/ct/form_footer.html
+++ b/templates/webpages/ct/form_footer.html
@@ -1,6 +1,7 @@
[%- USE T8 %]
[% USE HTML %]
-
+[% USE LxERP %]
+[% USE L %]
@@ -9,22 +10,22 @@
-
-
+
+
[%- IF is_customer %]
-
+
[%- ELSE %]
-
+
[%- END %]
-
-
+
+
[%- IF is_customer %]
-
+
[%- ELSE %]
-
+
[%- END %]
[%- IF id AND is_orphaned %]
-
+ [% L.submit_tag('action', LxERP.t8('Delete'), id => 'action_delete', confirm => LxERP.t8('Do you really want to delete this object?')) %]
[%- END %]
[%- IF id %]
@@ -46,6 +47,14 @@
maintab.setselectedClassTarget("link"); //"link" or "linkparent"
maintab.init();
+ function check_taxzone_and_ustid() {
+ if (($('#taxzone_id').attr('value') == '1') && ($('#ustid').attr('value') == '')) {
+ alert('[% LxERP.t8('Please enter the sales tax identification number.') %]');
+ return false;
+ }
+ return true;
+ }
+
-->