X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fct%2Fform_footer.html;h=0291b806be386a2171638bfef7f7903e519e150c;hb=cf5fe23a0f13baaa7637ac66898945d3e9da42f4;hp=0fc528913363a37764bb338061930133592ba46b;hpb=2d3f862b7af94f31860dd264eef7c1bc7de7eae2;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;
+ }
+
-->