X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fpart%2F_basic_data.html;h=47cd8f3e85a660403276cd1fba09f8dd97a03ce4;hb=124d274756c0873240074c85afc7a3961a680f08;hp=38b15d2e5caec191273fd0cfa4913f355c198404;hpb=0db760fd70816d2199a188799534c3ef3d8d36ec;p=kivitendo-erp.git diff --git a/templates/webpages/part/_basic_data.html b/templates/webpages/part/_basic_data.html index 38b15d2e5..47cd8f3e8 100644 --- a/templates/webpages/part/_basic_data.html +++ b/templates/webpages/part/_basic_data.html @@ -23,16 +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 %] @@ -155,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) %] |