From: Bernd Bleßmann Date: Thu, 12 Nov 2015 22:54:24 +0000 (+0100) Subject: Auftrags-Controller: Mehrfach-Artikelauswahl: Menge für alle setzen. X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=65469b0b132a01a8798a35013011ad30fe767178;p=kivitendo-erp.git Auftrags-Controller: Mehrfach-Artikelauswahl: Menge für alle setzen. erste Version, als Diskussionsgrundlage. --- diff --git a/templates/webpages/order/tabs/_multi_items_dialog.html b/templates/webpages/order/tabs/_multi_items_dialog.html index f96018c79..094bf10a7 100644 --- a/templates/webpages/order/tabs/_multi_items_dialog.html +++ b/templates/webpages/order/tabs/_multi_items_dialog.html @@ -28,7 +28,9 @@ function update_result() { $.ajax({ url: 'controller.pl?action=Order/multi_items_update_result', data: data, - success: function(data){ $('#multi_items_result').html(data) } + success: function(data){ + $('#multi_items_result').html(data); + } }); } diff --git a/templates/webpages/order/tabs/_multi_items_result.html b/templates/webpages/order/tabs/_multi_items_result.html index c0cafffdb..a9e93fb0e 100644 --- a/templates/webpages/order/tabs/_multi_items_result.html +++ b/templates/webpages/order/tabs/_multi_items_result.html @@ -1,11 +1,19 @@ [%- USE T8 %][%- USE HTML %][%- USE L %][%- USE LxERP %] + + + + + + [%- FOREACH item = multi_items %] + @@ -13,3 +21,9 @@ [%- END %]
[% 'for all' | $T8 %] + [% L.input_tag("multi_items.all_qty", '', size => 5) %]

[% L.hidden_tag("add_multi_items[+].parts_id", item.id) %] - [% L.input_tag("add_multi_items[].qty", '', size => 5) %] + [% L.input_tag("add_multi_items[].qty", '', size => 5, class='multi_items_qty') %] [% HTML.escape(item.unit) %] [% HTML.escape(item.partnumber) %]
+ +