Im Artikelselektor bei Multiselect besseren Titel, je nachdem ob multiselect an ist oder nicht.
Auch die horizontale Linie über alle Spalten,
wenn long_description in der Mandanntenkonfig gesetzt ist.
_check_io_auth();
my $previous_form = $::auth->save_form_in_session(form => $::form);
- $::form->{title} = $::locale->text('Select from one of the items below');
+ $::form->{title} = $::myconfig{item_multiselect} ?
+ $::locale->text('Set count for one or more of the items to select them'):
+ $::locale->text('Select from one of the items below');
$::form->header;
my @item_list = map {
'Service, assembly or part' => 'Dienstleistung, Erzeugnis oder Ware',
'Services' => 'Dienstleistungen',
'Set (set to)' => 'Setze',
+ 'Set count for one or more of the items to select them' => 'Zum Selektieren bitte Menge für einen oder mehrere Artikel setzen',
'Set eMail text' => 'E-Mail Text eingeben',
'Set to paid missing' => 'Fehlbetrag setzen',
'Settings' => 'Einstellungen',
[% USE LxERP %][% USE HTML %][% USE L %][% USE P %]
+[% SET COLS = 8 %]
<h1>[% title %]</h1>
<form method="post" action="[% HTML.escape(script) %]">
<th>[% LxERP.t8('Number') %]</th>
<th>[% LxERP.t8('Part Description') %]</th>
[%- IF INSTANCE_CONF.get_show_longdescription_select_item %]
+ [% SET COLS = COLS + 1 %]
<th>[% LxERP.t8('Long Description') %]</th>
[%- END %]
<th>[% LxERP.t8('Other Matches') %]</th>
<th>[% LxERP.t8('Price') %]</th>
[%- IF IS_PURCHASE %]
+ [% SET COLS = COLS + 1 %]
<th>[% LxERP.t8('ROP') %]</th>
[%- END %]
<th>[% LxERP.t8('Qty') %]</th>
</tr>
[%- END %]
- <tr><td colspan="8"><hr size="3" noshade></td></tr>
+ <tr><td colspan="[% COLS %]"><hr size="3" noshade></td></tr>
</table>
[% L.hidden_tag('select_item_mode', MODE) %]