From: Bernd Bleßmann Date: Fri, 23 Oct 2015 16:08:20 +0000 (+0200) Subject: Auftrags-Controller: Preisquellen: ausgwählten Rabatt richtig prüfen. X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3e933f1423110403c57036a0dcb4dedbe4e53b9d;p=kivitendo-erp.git Auftrags-Controller: Preisquellen: ausgwählten Rabatt richtig prüfen. --- diff --git a/templates/webpages/order/tabs/_price_sources_dialog.html b/templates/webpages/order/tabs/_price_sources_dialog.html index 090cb289f..a9f92a0c5 100644 --- a/templates/webpages/order/tabs/_price_sources_dialog.html +++ b/templates/webpages/order/tabs/_price_sources_dialog.html @@ -71,7 +71,7 @@ [%- IF price_source.record_item.active_discount_source != price.source %] [% L.button_tag('update_discount_source(\'' _ FORM.item_id _ '\', \'' _ price.source _ '\', \'' _ price.discount_as_percent _ '\')', LxERP.t8('Select')) %] -[%- ELSIF price_source.record_item.discount * 1 != price.discount * 100 %] +[%- ELSIF price_source.record_item.discount * 1 != price.discount * 1 %] [% L.button_tag('update_discount_source(\'' _ FORM.item_id _ '\', \'' _ price.source _ '\', \'' _ price.discount_as_percent _ '\')', LxERP.t8('Update Discount')) %] [%- ELSE %] [% 'Selected' | $T8 %]