X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fpart%2F_basic_data.html;h=ba18da2661ee53e5b96c11c23564178116616523;hb=82034151ec366dadc859bb418bdfa41e780ca62b;hp=00ee4adf790e4932212d9d39ed27c285905be7f3;hpb=4fd03c0080466299b66a6eb56f7db40a9c151612;p=kivitendo-erp.git diff --git a/templates/webpages/part/_basic_data.html b/templates/webpages/part/_basic_data.html index 00ee4adf7..ba18da266 100644 --- a/templates/webpages/part/_basic_data.html +++ b/templates/webpages/part/_basic_data.html @@ -23,12 +23,12 @@
[% '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 %] @@ -151,7 +163,7 @@ [% IF SELF.all_warehouses.size %] |
[% 'Default Warehouse' | $T8 %] | -[% L.select_tag('part.warehouse_id', SELF.all_warehouses, default=SELF.part.warehouse.id, title_key='description', with_empty=>1) %] + | [% L.select_tag('part.warehouse_id', SELF.all_warehouses, default=SELF.part.warehouse.id, title_key='description', with_empty=1) %] |