5 [% SET best_price = price_source.best_price %]
7 <tr class='listheading'>
9 <th>[% 'Price Source' | $T8 %]</th>
10 <th>[% 'Price' | $T8 %]</th>
11 <th>[% 'Best Price' | $T8 %]</th>
14 [%- IF price_source.record_item.active_price_source %]
15 <td>[% L.button_tag('kivi.io.update_price_source(' _ FORM.row _ ', \'\')', LxERP.t8('Select')) %]</td>
17 <td><b>[% 'Selected' | $T8 %]</b></td>
19 <td>[% 'None (PriceSource)' | $T8 %]</td>
23 [%- FOREACH price IN price_source.available_prices %]
25 [%- IF price_source.record_item.active_price_source != price.source %]
26 <td>[% L.button_tag('kivi.io.update_price_source(' _ FORM.row _ ', \'' _ price.source _ '\', \'' _ LxERP.format_amount(price.price, -2) _ '\')', LxERP.t8('Select')) %]</td>
27 [%- ELSIF price_source.record_item.sellprice_as_number != price.price_as_number %]
28 <td>[% L.button_tag('kivi.io.update_price_source(' _ FORM.row _ ', \'' _ price.source _ '\', \'' _ LxERP.format_amount(price.price, -2) _ '\')', LxERP.t8('Update Price')) %]</td>
30 <td><b>[% 'Selected' | $T8 %]</b></td>
32 <td>[% price.full_description | html %]</td>
33 <td>[% price.price_as_number %]</td>
34 [% IF price.source == best_price.source %]
35 <td align='center'>•</td>