X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d6f17d11b9affd401e97c3e79360aa20afb59f1d..2d0387d1624b5b7ed6b13b79b9d5a87ce9b6d12b:/templates/webpages/part/_basic_data.html diff --git a/templates/webpages/part/_basic_data.html b/templates/webpages/part/_basic_data.html index fca9bb79e..ba18da266 100644 --- a/templates/webpages/part/_basic_data.html +++ b/templates/webpages/part/_basic_data.html @@ -28,7 +28,7 @@
| [% 'Updated' | $T8 %] | +[% 'Price updated' | $T8 %] | - [% SELF.part.priceupdate.to_kivitendo | html %] + [% SELF.part.last_price_update.valid_from.to_kivitendo | html %] |
|---|---|---|
| [% 'Price Factor' | $T8 %] | - [%- L.select_tag('part.price_factor_id', SELF.all_price_factors, default=SELF.part.price_factor_id, title_key='description', value_key='id', with_empty=1) %] | + [%- L.select_tag('part.price_factor_id', SELF.all_price_factors, default=SELF.part.price_factor_id, title_key='description', value_key='id', with_empty=1) %][% 'Unit' | $T8 %] | [%- IF !SELF.part.id or SELF.part.orphaned # same logic as unit_changable %] - [%- L.select_tag('part.unit', SELF.all_units, default=SELF.part.unit, title_key='name', value_key='name') %] | + [%- L.select_tag('part.unit', SELF.all_units, default=SELF.part.unit, title_key='name', value_key='name') %] [%- ELSE %] [% L.hidden_tag('part.unit', SELF.part.unit) %] [% HTML.escape(SELF.part.unit) %] [%- END %] @@ -133,7 +145,7 @@[% 'Weight' | $T8 %] | [%- IF SELF.part.is_assembly %] - [% LxERP.format_amount(SELF.part.weight) %] + [% LxERP.format_amount(SELF.part.weight) %] [% ELSE %] [% L.input_tag('part.weight_as_number', SELF.part.weight_as_number, size=10, class='reformat_number numeric') %] [% END %] @@ -219,17 +231,10 @@ | -