X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Foe%2Fprice_sources_dialog.html;h=7cfd7f849651c9351757acf0d200a1680daf3ced;hb=1b7759ed7c474adef6eb75b6cc04431768fff8c3;hp=263cfd627b566232e87dbbb3b8bac3b0a86662f7;hpb=89b2668811eac6023ad58322e2f9970ddb6a27c9;p=kivitendo-erp.git
diff --git a/templates/webpages/oe/price_sources_dialog.html b/templates/webpages/oe/price_sources_dialog.html
index 263cfd627..7cfd7f849 100644
--- a/templates/webpages/oe/price_sources_dialog.html
+++ b/templates/webpages/oe/price_sources_dialog.html
@@ -29,13 +29,13 @@
[%- IF price_source.record_item.active_price_source != price.source %]
[% L.button_tag('kivi.io.update_price_source(' _ FORM.row _ ', \'' _ price.source _ '\', \'' _ LxERP.format_amount(price.price, -2) _ '\')', LxERP.t8('Select')) %] |
-[%- ELSIF price_source.record_item.sellprice != price.price %]
+[%- ELSIF price_source.record_item.sellprice * 1 != price.price * 1 %]
[% L.button_tag('kivi.io.update_price_source(' _ FORM.row _ ', \'' _ price.source _ '\', \'' _ LxERP.format_amount(price.price, -2) _ '\')', LxERP.t8('Update Price')) %] |
[%- ELSE %]
[% 'Selected' | $T8 %] |
[% END %]
[% price.source_description | html %] |
- [% price.price_as_number %] |
+ [% price.price_as_number %] |
[% IF price.source == best_price.source %]
• |
[% ELSE %]
@@ -71,7 +71,7 @@
[%- IF price_source.record_item.active_discount_source != price.source %]
[% L.button_tag('kivi.io.update_discount_source(' _ FORM.row _ ', \'' _ price.source _ '\', \'' _ price.discount_as_percent _ '\')', LxERP.t8('Select')) %] |
-[%- ELSIF price_source.record_item.discount != price.discount * 100 %]
+[%- ELSIF price_source.record_item.discount * 1 != price.discount * 100 %]
[% L.button_tag('kivi.io.update_discount_source(' _ FORM.row _ ', \'' _ price.source _ '\', \'' _ price.discount_as_percent _ '\')', LxERP.t8('Update Discount')) %] |
[%- ELSE %]
[% 'Selected' | $T8 %] |