[%- USE T8 %] [%- USE HTML %] [%- USE L %] [%- USE LxERP %] [% SET best_price = price_source.best_price %]
[% 'Price Source' | $T8 %] | [% 'Price' | $T8 %] | [% 'Best Price' | $T8 %] | ||||
---|---|---|---|---|---|---|
[% L.button_tag('kivi.io.update_price_source(' _ FORM.row _ ', \'\')', LxERP.t8('Select')) %] | [%- ELSE %][% 'Selected' | $T8 %] | [%- END %][% 'None (PriceSource)' | $T8 %] | - | |||
[% 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_as_number != price.price_as_number %][% 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.full_description | html %] | [% price.price_as_number %] | [% IF price.source == best_price.source %]• | [% ELSE %][% END %] |