From 83a30f5fd60fbb6ab09fe1a469e0a90e636c4913 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 9 Apr 2009 09:49:32 +0000 Subject: [PATCH] =?utf8?q?Lieferschein:=20Bei=20der=20Maske=20zum=20Auslag?= =?utf8?q?ern=20automatisch=20die=20Lieferscheinmenge=20eintragen,=20sofer?= =?utf8?q?n=20es=20nur=20genau=20einen=20Lagerplatz=20gibt,=20an=20dem=20d?= =?utf8?q?ie=20Ware=20vorr=C3=A4tig=20ist.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- templates/webpages/do/stock_out_form_de.html | 7 ++++++- templates/webpages/do/stock_out_form_master.html | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/templates/webpages/do/stock_out_form_de.html b/templates/webpages/do/stock_out_form_de.html index c71d2ffeb..152008377 100644 --- a/templates/webpages/do/stock_out_form_de.html +++ b/templates/webpages/do/stock_out_form_de.html @@ -83,7 +83,12 @@ [% HTML.escape(row.available_qty) %] + [%- IF row.stock_qty %] + value="[% HTML.escape(LxERP.format_amount(row.stock_qty)) %]" + [%- ELSIF ((WHCONTENTS.size == 1) && (!row.stock_qty)) %] + value="[% HTML.escape(do_qty) %]" + [%- END %] + > + [%- IF row.stock_qty %] + value="[% HTML.escape(LxERP.format_amount(row.stock_qty)) %]" + [%- ELSIF ((WHCONTENTS.size == 1) && (!row.stock_qty)) %] + value="[% HTML.escape(do_qty) %]" + [%- END %] + >