X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fcustomer_vendor%2Ftabs%2Fshipto.html;h=c47d2721d18eb09ba459c0942efe17c478c682ea;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=fa5d5d3879bb073b8eab121102b2c194282208e7;hpb=f7bab9572ec83c3f6c0ab8070925ed8df1eb47dd;p=kivitendo-erp.git diff --git a/templates/webpages/customer_vendor/tabs/shipto.html b/templates/webpages/customer_vendor/tabs/shipto.html index fa5d5d387..c47d2721d 100644 --- a/templates/webpages/customer_vendor/tabs/shipto.html +++ b/templates/webpages/customer_vendor/tabs/shipto.html @@ -3,7 +3,7 @@ [%- USE L %]
- +
@@ -16,7 +16,7 @@ title_key = 'displayable_id', with_empty = 1, empty_title = LxERP.t8('New shipto'), - onchange = "kivi.CustomerVendor.selectShipto({onFormSet: function(){ shiptoMapWidget.testInputs(); local_reinit_widgets(); }});", + onchange = "kivi.CustomerVendor.selectShipto({onFormSet: function(){ shiptoMapWidget.testInputs(); kivi.reinit_widgets(); }});", ) %] @@ -31,7 +31,7 @@ - + + + [% shipto_cvars = SELF.shipto.cvars_by_config %] + + [% IF ( shipto_cvars.size ) %] + + + + + [% FOREACH var = shipto_cvars %] + + + + + + [% END %] + [% END %]
[% 'Shipping Address' | $T8 %]
[% 'Abteilung' | $T8 %][% 'Department' | $T8 %] [% L.input_tag('shipto.shiptodepartment_1', SELF.shipto.shiptodepartment_1, size = 16) %] @@ -111,9 +111,31 @@ [% L.input_tag('shipto.shiptoemail', SELF.shipto.shiptoemail, size = 45) %]
+
+
[% var.config.description | html %] + [% INCLUDE 'common/render_cvar_input.html' + cvar_name_prefix = 'shipto_cvars.' + %] +
- [% 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 ) %]