From: Bernd Bleßmann Date: Mon, 12 Mar 2018 14:37:47 +0000 (+0100) Subject: Auftrags-Controller: Belegnummer in Titlezeile anzeigen X-Git-Tag: release-3.5.4~445 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=faf31da3a0c5112557d491f6bae9c32d3843781f;p=kivitendo-erp.git Auftrags-Controller: Belegnummer in Titlezeile anzeigen --- diff --git a/js/kivi.Order.js b/js/kivi.Order.js index 1a5924c11..ef30e1303 100644 --- a/js/kivi.Order.js +++ b/js/kivi.Order.js @@ -150,6 +150,10 @@ namespace('kivi.Order', function(ns) { email_dialog.dialog("close"); }; + ns.set_number_in_title = function(elt) { + $('#nr_in_title').html($(elt).val()); + }; + ns.reload_cv_dependant_selections = function() { var data = $('#order_form').serializeArray(); data.push({ name: 'action', value: 'Order/customer_vendor_changed' }); diff --git a/templates/webpages/order/form.html b/templates/webpages/order/form.html index 0e2864254..6020fd7b7 100644 --- a/templates/webpages/order/form.html +++ b/templates/webpages/order/form.html @@ -2,7 +2,7 @@ [%- USE LxERP %] [%- USE L %] [%- USE HTML %] -

[% FORM.title %]

+

[% FORM.title %] [%- SELF.order.number -%]