X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=templates%2Fwebpages%2Fcustomer_vendor%2Ftabs%2Fshipto.html;h=6e61072d8c7ceefb4a7287665d4da4b17785f638;hb=bd3ddb3abf7d621a428b2da42e378324ac417acc;hp=ef20e7fe1872ca702abcbeb69b748a74fa5a5be9;hpb=4b6c74e54767a40be404a9a1068aa0ad9da6c799;p=kivitendo-erp.git
diff --git a/templates/webpages/customer_vendor/tabs/shipto.html b/templates/webpages/customer_vendor/tabs/shipto.html
index ef20e7fe1..6e61072d8 100644
--- a/templates/webpages/customer_vendor/tabs/shipto.html
+++ b/templates/webpages/customer_vendor/tabs/shipto.html
@@ -16,7 +16,7 @@
title_key = 'displayable_id',
with_empty = 1,
empty_title = LxERP.t8('New shipto'),
- onchange = "namespace('kivi.CustomerVendor').selectShipto();"
+ onchange = "kivi.CustomerVendor.selectShipto({onFormSet: function(){ shiptoMapWidget.testInputs(); kivi.reinit_widgets(); }});",
)
%]
@@ -26,16 +26,16 @@
[% 'Name' | $T8 %] |
- [% L.input_tag('shipto.shiptoname', SELF.shipto.shiptoname, size = 35, maxlength = 75) %]
+ [% L.input_tag('shipto.shiptoname', SELF.shipto.shiptoname, size = 35) %]
|
- [% 'Abteilung' | $T8 %] |
+ [% 'Department' | $T8 %] |
- [% L.input_tag('shipto.shiptodepartment_1', SELF.shipto.shiptodepartment_1, size = 16, maxlength = 75) %]
- [% L.input_tag('shipto.shiptodepartment_2', SELF.shipto.shiptodepartment_2, size = 16, maxlength = 75) %]
+ [% L.input_tag('shipto.shiptodepartment_1', SELF.shipto.shiptodepartment_1, size = 16) %]
+ [% L.input_tag('shipto.shiptodepartment_2', SELF.shipto.shiptodepartment_2, size = 16) %]
|
@@ -43,11 +43,15 @@
[% 'Street' | $T8 %] |
- [% L.input_tag('shipto.shiptostreet', SELF.shipto.shiptostreet, size = 35, maxlength = 75) %]
-
-
-
-
+ [% L.input_tag('shipto.shiptostreet', SELF.shipto.shiptostreet, size = 35) %]
+
+
+
|
@@ -55,8 +59,8 @@
[% 'Zipcode' | $T8 %]/[% 'City' | $T8 %] |
- [% L.input_tag('shipto.shiptozipcode', SELF.shipto.shiptostreet, size = 5, maxlength = 75) %]
- [% L.input_tag('shipto.shiptocity', SELF.shipto.shiptocity, size = 30, maxlength = 75) %]
+ [% L.input_tag('shipto.shiptozipcode', SELF.shipto.shiptozipcode, size = 5) %]
+ [% L.input_tag('shipto.shiptocity', SELF.shipto.shiptocity, size = 30) %]
|
@@ -64,7 +68,15 @@
[% 'Country' | $T8 %] |
- [% L.input_tag('shipto.shiptocountry', SELF.shipto.shiptocountry, size = 35, maxlength = 75) %]
+ [% L.input_tag('shipto.shiptocountry', SELF.shipto.shiptocountry, size = 35) %]
+ |
+
+
+
+ [% 'GLN' | $T8 %] |
+
+
+ [% L.input_tag('shipto.shiptogln', SELF.shipto.shiptogln, size = 35) %]
|
@@ -72,7 +84,7 @@
[% 'Contact' | $T8 %] |
- [% L.input_tag('shipto.shiptocontact', SELF.shipto.shiptocontact, size = 30, maxlength = 75) %]
+ [% L.input_tag('shipto.shiptocontact', SELF.shipto.shiptocontact, size = 30) %]
|
@@ -80,7 +92,7 @@
[% 'Phone' | $T8 %] |
- [% L.input_tag('shipto.shiptophone', SELF.shipto.shiptophone, size = 30, maxlength = 30) %]
+ [% L.input_tag('shipto.shiptophone', SELF.shipto.shiptophone, size = 30) %]
|
@@ -88,7 +100,7 @@
[% 'Fax' | $T8 %] |
- [% L.input_tag('shipto.shiptofax', SELF.shipto.shiptofax, size = 30, maxlength = 30) %]
+ [% L.input_tag('shipto.shiptofax', SELF.shipto.shiptofax, size = 30) %]
|
@@ -99,9 +111,31 @@
[% L.input_tag('shipto.shiptoemail', SELF.shipto.shiptoemail, size = 45) %]
+
+ [% shipto_cvars = SELF.shipto.cvars_by_config %]
+
+ [% IF ( shipto_cvars.size ) %]
+
+
+
+ |
+
+
+ [% FOREACH var = shipto_cvars %]
+
+ [% var.config.description | html %] |
+
+
+ [% INCLUDE 'common/render_cvar_input.html'
+ cvar_name_prefix = 'shipto_cvars.'
+ %]
+ |
+
+ [% END %]
+ [% END %]
- [% L.button_tag('submitInputButton(this);', LxERP.t8('Delete Shipto'), name = 'action_delete_shipto', class = 'submit') %]
+ [% L.button_tag('submitInputButton("delete_shipto");', LxERP.t8('Delete Shipto'), class = 'submit') %]
[% IF ( !SELF.shipto.shipto_id ) %]