X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fio%2Fselect_item.html;h=c6330d218d5881f885dc2da846b98eef73fc3729;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=2e3c91d32f39cce67abea54ffa4d859182544537;hpb=461b6311d70b58f07997b209d6e55c3d0b9c838c;p=kivitendo-erp.git diff --git a/templates/webpages/io/select_item.html b/templates/webpages/io/select_item.html index 2e3c91d32..c6330d218 100644 --- a/templates/webpages/io/select_item.html +++ b/templates/webpages/io/select_item.html @@ -1,17 +1,27 @@ -[% USE LxERP %][% USE HTML %][% USE L %] - +[% USE LxERP %][% USE HTML %][% USE L %][% USE P %] +[% SET COLS = 8 %] +

[% title %]

-
[% title %]
- -
+ - + [%- IF MYCONFIG.item_multiselect %] + + [%- ELSE %] + + [%- END %] + + [%- IF INSTANCE_CONF.get_show_longdescription_select_item %] + [% SET COLS = COLS + 1 %] + + [%- END %] + [%- IF IS_PURCHASE %] + [% SET COLS = COLS + 1 %] [%- END %] @@ -20,26 +30,50 @@ [%- FOREACH item = ITEM_LIST %] - + [%- IF MYCONFIG.item_multiselect %] + + [%- ELSE %] + + [%- END %] + + [%- IF INSTANCE_CONF.get_show_longdescription_select_item %] + + [%- END %] + + [%- IF IS_PURCHASE %] [%- END %] - [%- END %] - +
 [% LxERP.t8('Qty') %] [% LxERP.t8('Number') %][% LxERP.t8('Part Classification') %] [% LxERP.t8('Part Description') %][% LxERP.t8('Long Description') %][% LxERP.t8('Other Matches') %] [% LxERP.t8('Price') %][% LxERP.t8('ROP') %][% LxERP.t8('Qty') %]
[% L.input_tag('select_qty_' _ HTML.escape(item.id), '', size => 5) %][% HTML.escape(item.partnumber) %][% HTML.escape(item.type_and_classific) %] [% HTML.escape(item.description) %][% P.restricted_html(item.longdescription) %][% HTML.escape(item.matches).join('
') %]
[% LxERP.format_amount(item.display_sellprice, 2) %][% LxERP.format_amount(item.rop, '') %][% LxERP.format_amount(item.display_sellprice, 2) %] [% LxERP.format_amount(item.onhand, '') %] [% HTML.escape(item.unit) %]


[% L.hidden_tag('select_item_mode', MODE) %] [% L.hidden_tag('select_item_previous_form', PREVIOUS_FORM) %] - [% L.hidden_tag('nextsub', 'item_selected') %] - - [% L.submit_tag('action', LxERP.t8('Continue')) %] + [% L.hidden_tag('action', 'item_selected') %]
- - + +[%- IF MYCONFIG.item_multiselect %] + +[%- END %]