X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Frequirement_spec_order%2Flist.html;h=d1c227891117b7ab8e29916159c4968d440e0711;hb=3fa7a7a8e245681454e2bf11be50b4c305900511;hp=fb86baf5cb5ebb24ff2ad2b7e77b487b8d904481;hpb=fb692c5f36d073818aec001f281a70a77dfb6977;p=kivitendo-erp.git diff --git a/templates/webpages/requirement_spec_order/list.html b/templates/webpages/requirement_spec_order/list.html index fb86baf5c..d1c227891 100644 --- a/templates/webpages/requirement_spec_order/list.html +++ b/templates/webpages/requirement_spec_order/list.html @@ -1,6 +1,7 @@ [%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE P -%]

[% LxERP.t8("Assignment of articles to sections") %]

+ [% SET sections = SELF.requirement_spec.sections_sorted %] [% IF !sections.size %]
@@ -14,6 +15,8 @@ [% LxERP.t8("Title") %] [% LxERP.t8("Description") %] [% LxERP.t8("Article") %] + [% LxERP.t8("Unit") %] + [% LxERP.t8("Position type in quotation/order") %] @@ -22,7 +25,7 @@ [% HTML.escape(section.fb_number) %] [% HTML.escape(section.title) %] - [% HTML.escape(P.truncate(section.description)) %] + [% HTML.escape(P.truncate(section.description_as_stripped_html)) %] [% IF section.order_part %] [% HTML.escape(section.order_part.partnumber) %] [% HTML.escape(section.order_part.description) %] @@ -30,6 +33,14 @@ [% LxERP.t8("no article assigned yet") %] [% END %] + [% HTML.escape(section.order_part.unit) %] + + [% IF section.order_part_id && section.order_part.unit_obj.is_time_based %] + [% LxERP.t8("time and effort based position") %] + [% ELSIF section.order_part_id %] + [% LxERP.t8("flat-rate position") %] + [% END %] + [% END %] @@ -49,8 +60,9 @@ [% LxERP.t8("Type") %] [% LxERP.t8("Requirement Spec Version") %] [% LxERP.t8("Record number") %] - [% LxERP.t8("Transaction Description") %] - [% LxERP.t8("Date") %] + [% LxERP.t8("Transaction description") %] + [% LxERP.t8("Quotation/Order Date") %] + [% LxERP.t8("Creation Date") %] @@ -58,7 +70,7 @@ [% FOREACH rs_order = orders %] [% L.hidden_tag('order_id', rs_order.id, no_id=1) %] - [% rs_order.order.type == 'sales_quotation' ? LxERP.t8('Sales quotation') : LxERP.t8('Sales order') %] + [% rs_order.order.type == 'sales_quotation' ? LxERP.t8('Sales quotation') : LxERP.t8('Sales Order') %] [% IF rs_order.version %] [% HTML.escape(rs_order.version.version_number) %] @@ -66,8 +78,17 @@ [% LxERP.t8("working copy") %] [% END %] - [% HTML.escape(rs_order.order.quotation ? rs_order.order.quonumber : rs_order.order.ordnumber) %] + + [%- IF INSTANCE_CONF.get_feature_experimental_order -%] + + [%- ELSE -%] + + [%- END -%] + [% HTML.escape(rs_order.order.quotation ? rs_order.order.quonumber : rs_order.order.ordnumber) %] + + [% HTML.escape(rs_order.order.transaction_description) %] + [% rs_order.order.transdate.to_kivitendo(precision='day') %] [% rs_order.itime.to_kivitendo(precision='day') %] [%- END %]