Auftrags-Controller: Preisquellen: ausgwählten Rabatt richtig prüfen.
[kivitendo-erp.git] / templates / webpages / order / tabs / _price_sources_dialog.html
index 090cb28..a9f92a0 100644 (file)
@@ -71,7 +71,7 @@
     <tr class='listrow'>
 [%- IF price_source.record_item.active_discount_source != price.source %]
      <td>[% L.button_tag('update_discount_source(\'' _ FORM.item_id _ '\', \'' _ price.source _ '\', \'' _ price.discount_as_percent _ '\')', LxERP.t8('Select')) %]</td>
-[%- ELSIF price_source.record_item.discount * 1 != price.discount * 100 %]
+[%- ELSIF price_source.record_item.discount * 1 != price.discount * 1 %]
      <td>[% L.button_tag('update_discount_source(\'' _ FORM.item_id _ '\', \'' _ price.source _ '\', \'' _ price.discount_as_percent  _ '\')', LxERP.t8('Update Discount')) %]</td>
 [%- ELSE %]
     <td><b>[% 'Selected' | $T8 %]</b></td>