Revision 766ed2a6
Von Sven Schöling vor etwa 10 Jahren hinzugefügt
templates/webpages/oe/price_sources_dialog.html | ||
---|---|---|
29 | 29 |
<tr class='listrow'> |
30 | 30 |
[%- IF price_source.record_item.active_price_source != price.source %] |
31 | 31 |
<td>[% L.button_tag('kivi.io.update_price_source(' _ FORM.row _ ', \'' _ price.source _ '\', \'' _ LxERP.format_amount(price.price, -2) _ '\')', LxERP.t8('Select')) %]</td> |
32 |
[%- ELSIF price_source.record_item.sellprice != price.price %]
|
|
32 |
[%- ELSIF price_source.record_item.sellprice * 1 != price.price * 1 %]
|
|
33 | 33 |
<td>[% L.button_tag('kivi.io.update_price_source(' _ FORM.row _ ', \'' _ price.source _ '\', \'' _ LxERP.format_amount(price.price, -2) _ '\')', LxERP.t8('Update Price')) %]</td> |
34 | 34 |
[%- ELSE %] |
35 | 35 |
<td><b>[% 'Selected' | $T8 %]</b></td> |
... | ... | |
71 | 71 |
<tr class='listrow'> |
72 | 72 |
[%- IF price_source.record_item.active_discount_source != price.source %] |
73 | 73 |
<td>[% L.button_tag('kivi.io.update_discount_source(' _ FORM.row _ ', \'' _ price.source _ '\', \'' _ price.discount_as_percent _ '\')', LxERP.t8('Select')) %]</td> |
74 |
[%- ELSIF price_source.record_item.discount != price.discount * 100 %] |
|
74 |
[%- ELSIF price_source.record_item.discount * 1 != price.discount * 100 %]
|
|
75 | 75 |
<td>[% L.button_tag('kivi.io.update_discount_source(' _ FORM.row _ ', \'' _ price.source _ '\', \'' _ price.discount_as_percent _ '\')', LxERP.t8('Update Discount')) %]</td> |
76 | 76 |
[%- ELSE %] |
77 | 77 |
<td><b>[% 'Selected' | $T8 %]</b></td> |
Auch abrufbar als: Unified diff
PriecSource: Numerische Vergleiche im Template stinken