'transdate' => { description => t8('Transdate'), customer => 1, vendor => 1, data_type => 'date', data => sub { $_[0]->transdate }, ops => 'date' },
'part' => { description => t8('Part'), customer => 1, vendor => 1, data_type => 'int', data => sub { $_[1]->part->id }, },
'pricegroup' => { description => t8('Pricegroup'), customer => 1, vendor => 1, data_type => 'int', data => sub { $_[1]->pricegroup_id }, exclude_nulls => 1 },
- 'partsgroup' => { description => t8('Group'), customer => 1, vendor => 1, data_type => 'int', data => sub { $_[1]->part->partsgroup_id }, exclude_nulls => 1 },
+ 'partsgroup' => { description => t8('Partsgroup'), customer => 1, vendor => 1, data_type => 'int', data => sub { $_[1]->part->partsgroup_id }, exclude_nulls => 1 },
'qty' => { description => t8('Qty'), customer => 1, vendor => 1, data_type => 'num', data => sub { $_[1]->qty }, ops => 'num' },
);
$type eq 'customer' ? t8('Customer') . ' ' . $self->customer->displayable_name
: $type eq 'vendor' ? t8('Vendor') . ' ' . $self->vendor->displayable_name
: $type eq 'business' ? t8('Type of Business') . ' ' . $self->business->displayable_name
- : $type eq 'partsgroup' ? t8('Group') . ' ' . $self->partsgroup->displayable_name
+ : $type eq 'partsgroup' ? t8('Partsgroup') . ' ' . $self->partsgroup->displayable_name
: $type eq 'pricegroup' ? t8('Pricegroup') . ' ' . $self->pricegroup->displayable_name
: $type eq 'part' ? t8('Part') . ' ' . $self->part->displayable_name
: $type eq 'qty' ? (
'onhand' => { 'text' => $locale->text('Stocked Qty'), },
'ordnumber' => { 'text' => $locale->text('Order Number'), },
'partnumber' => { 'text' => $locale->text('Part Number'), },
- 'partsgroup' => { 'text' => $locale->text('Group'), },
+ 'partsgroup' => { 'text' => $locale->text('Partsgroup'), },
'priceupdate' => { 'text' => $locale->text('Updated'), },
'quonumber' => { 'text' => $locale->text('Quotation'), },
'rop' => { 'text' => $locale->text('ROP'), },
transdatefrom => $locale->text('From') . " " . $locale->date(\%myconfig, $form->{transdatefrom}, 1),
transdateto => $locale->text('To (time)') . " " . $locale->date(\%myconfig, $form->{transdateto}, 1),
partnumber => $locale->text('Part Number') . ": '$form->{partnumber}'",
- partsgroup => $locale->text('Group') . ": '$form->{partsgroup}'",
- partsgroup_id => $locale->text('Group') . ": '$pg_name'",
+ partsgroup => $locale->text('Partsgroup') . ": '$form->{partsgroup}'",
+ partsgroup_id => $locale->text('Partsgroup') . ": '$pg_name'",
serialnumber => $locale->text('Serial Number') . ": '$form->{serialnumber}'",
description => $locale->text('Part Description') . ": '$form->{description}'",
make => $locale->text('Make') . ": '$form->{make}'",
my %column_defs = (
'description' => { 'text' => $locale->text('Description'), },
'partnumber' => { 'text' => $locale->text('Part Number'), },
- 'partsgroup' => { 'text' => $locale->text('Group'), },
+ 'partsgroup' => { 'text' => $locale->text('Partsgroup'), },
'country' => { 'text' => $locale->text('Country'), },
'business' => { 'text' => $locale->text('Customer type'), },
'employee' => { 'text' => $locale->text('Employee'), },
push @options, $locale->text('Invoice Number') . " : $form->{invnumber}" if $form->{invnumber};
push @options, $locale->text('Invoice Date') . " : $form->{invdate}" if $form->{invdate};
push @options, $locale->text('Part Number') . " : $form->{partnumber}" if $form->{partnumber};
- push @options, $locale->text('Group') . " : " . SL::DB::PartsGroup->new(id => $form->{partsgroup_id})->load->partsgroup if $form->{partsgroup_id};
+ push @options, $locale->text('Partsgroup') . " : " . SL::DB::PartsGroup->new(id => $form->{partsgroup_id})->load->partsgroup if $form->{partsgroup_id};
push @options, $locale->text('Country') . " : $form->{country}" if $form->{country};
push @options, $locale->text('Employee') . ' : ' . SL::DB::Employee->new(id => $form->{employee_id})->load->name if $form->{employee_id};
push @options, $locale->text('Salesman') . ' : ' . SL::DB::Employee->new(id => $form->{salesman_id})->load->name if $form->{salesman_id};
'Add Follow-Up' => 'Wiedervorlage erstellen',
'Add Follow-Up for #1' => 'Wiedervorlage für #1 erstellen',
'Add General Ledger Transaction' => 'Dialogbuchen',
- 'Add Group' => 'Warengruppe erfassen',
'Add Language' => 'Sprache hinzufügen',
'Add Lead' => 'Kundenquelle erfassen',
'Add Letter' => 'Brief hinzufügen',
'Edit Follow-Up' => 'Wiedervorlage bearbeiten',
'Edit Follow-Up for #1' => 'Wiedervorlage für #1 bearbeiten',
'Edit General Ledger Transaction' => 'Buchung im Hauptbuch bearbeiten',
- 'Edit Group' => 'Warengruppe editieren',
'Edit Language' => 'Sprache bearbeiten',
'Edit Lead' => 'Kundenquelle bearbeiten',
'Edit Letter' => 'Brief bearbeiten',
'GoBD Export' => 'GoBD Export',
'Greeting' => 'Anrede',
'Greetings' => 'Anreden',
- 'Group' => 'Warengruppe',
'Group Invoices' => 'Rechnungen zusammenfassen',
'Group Items' => 'Waren gruppieren',
'Group assignment' => 'Gruppenzuordnung',
'Parts must have an entry type.' => 'Waren müssen eine Buchungsgruppe haben.',
'Parts with existing part numbers' => 'Artikel mit existierender Artikelnummer',
'Parts, services and assemblies' => 'Waren, Dienstleistungen und Erzeugnisse',
+ 'Partsgroup' => 'Warengruppe',
'Partsgroup (database ID)' => 'Warengruppe (Datenbank-ID)',
'Partsgroup (name)' => 'Warengruppe (Name)',
'Partsgroups' => 'Warengruppen',
'GoBD Export' => '',
'Greeting' => '',
'Greetings' => '',
- 'Group' => '',
'Group Invoices' => '',
'Group Items' => '',
'Group assignment' => '',
</tr>
<tr>
- <th align="right" nowrap>[% 'Group' | $T8 %]</th>
+ <th align="right" nowrap>[% 'Partsgroup' | $T8 %]</th>
<td>
[%- INCLUDE generic/multibox.html
name = 'partsgroup',
<td>[%- L.checkbox_tag('l_image', label=LxERP.t8('Image'), value='Y', checked=(INSTANCE_CONF.get_parts_listing_image ? 1 : 0)) %]</td>
<td>[%- L.checkbox_tag('l_drawing', label=LxERP.t8('Drawing'), value='Y') %]</td>
<td>[%- L.checkbox_tag('l_microfiche', label=LxERP.t8('Microfiche'), value='Y') %]</td>
- <td>[%- L.checkbox_tag('l_partsgroup', label=LxERP.t8('Group'), value='Y') %]</td>
+ <td>[%- L.checkbox_tag('l_partsgroup', label=LxERP.t8('Partsgroup'), value='Y') %]</td>
</td>
</tr>
</tr>
<tr>
- <th align="right" nowrap>[% 'Group' | $T8 %]</th>
+ <th align="right" nowrap>[% 'Partsgroup' | $T8 %]</th>
<td><input name="partsgroup" size="20"></td>
<th align="right" nowrap>[% 'Serial Number' | $T8 %]</th>
<td><input name="serialnumber" size="20"></td>
<th class="listheading" nowrap width="5" >[%- 'Line Total' | $T8 %] </th>
<th id="sellprice_header_id" class="listheading" nowrap width="10" ><a href='#' onClick='javascript:kivi.Part.reorder_items("sellprice")' >[%- 'Sellprice' | $T8 %]</a></th>
<th id="lastcost_header_id" class="listheading" nowrap width="10" ><a href='#' onClick='javascript:kivi.Part.reorder_items("lastcost")' >[%- 'Lastcost' | $T8 %]</a></th>
- <th id="_header_id" class="listheading" nowrap width="15" ><a href='#' onClick='javascript:kivi.Part.reorder_items("partsgroup")' >[%- 'Group' | $T8 %]</a></th>
+ <th id="_header_id" class="listheading" nowrap width="15" ><a href='#' onClick='javascript:kivi.Part.reorder_items("partsgroup")' >[%- 'Partsgroup' | $T8 %]</a></th>
</tr>
</thead>
<tbody id="assembly_rows">
<th class="listheading" nowrap width="5" >[%- 'Line Total' | $T8 %] </th>
<th id="sellprice_header_id" class="listheading" nowrap width="10" ><a href='#' onClick='javascript:kivi.Part.reorder_items("sellprice")'> [%- 'Sellprice' | $T8 %]</a></th>
<th id="lastcost_header_id" class="listheading" nowrap width="10" ><a href='#' onClick='javascript:kivi.Part.reorder_items("lastcost")'> [%- 'Lastcost' | $T8 %]</a></th>
- <th id="_header_id" class="listheading" nowrap width="15" ><a href='#' onClick='javascript:kivi.Part.reorder_items("partsgroup")'> [%- 'Group' | $T8 %]</a></th>
+ <th id="_header_id" class="listheading" nowrap width="15" ><a href='#' onClick='javascript:kivi.Part.reorder_items("partsgroup")'> [%- 'Partsgroup' | $T8 %]</a></th>
</tr>
</thead>
<tbody id="assortment_rows">
</tr>
<tr>
[%- IF SELF.all_partsgroups.size %]
- <th align="right">[% 'Group' | $T8 %]</th>
+ <th align="right">[% 'Partsgroup' | $T8 %]</th>
<td>[%- L.select_tag('part.partsgroup_id', SELF.all_partsgroups, default=SELF.part.partsgroup_id, title_key='partsgroup', value_key='id', with_empty=1 style='width: 200px') %]</td>
[% END %]
</tr>
<th>[% 'Unit' | $T8 %]</th>
<th>[% 'Article' | $T8 %]</th>
<th>[% 'Sellprice' | $T8 %]</th>
- <th>[% 'Group' | $T8 %]</th>
+ <th>[% 'Partsgroup' | $T8 %]</th>
</tr>
[%- FOREACH item = multi_items %]
<tr>
<td>
<table width=100%>
<tr>
- <th align=right>[% 'Group' | $T8 %]</th>
+ <th align=right>[% 'Partsgroup' | $T8 %]</th>
<td><input name=partsgroup size=30 value="[% partsgroup | html %]"></td>
</tr>
</table>
<td>
<table width=100%>
<tr class=listheading>
- <th class=listheading width=90%>[% 'Group' | $T8 %]</th>
+ <th class=listheading width=90%>[% 'Partsgroup' | $T8 %]</th>
</tr>
[%- FOREACH row = item_list %]
<tr valign=top class="listrow[% loop.count % 2 %]">
<th align=right width=1%>[% 'Pricegroup' | $T8 %]</th>
<td><input name=pricegroup size=20></td>
[%- ELSE %]
- <th align=right width=1%>[% 'Group' | $T8 %]</th>
+ <th align=right width=1%>[% 'Partsgroup' | $T8 %]</th>
<td><input name=partsgroup size=20></td>
[%- END %]
</tr>
<td>[% L.select_tag('filter.item_type_matches[].business', SELF.businesses, title_key='description', default=FORM.filter.item_type_matches.0.business, with_empty=1, style='width: 300px') %]</td>
</tr>
<tr>
- <th align="right">[% 'Group' | $T8 %]</th>
+ <th align="right">[% 'Partsgroup' | $T8 %]</th>
<td>[% L.select_tag('filter.item_type_matches[].partsgroup', SELF.partsgroups, title_key='partsgroup', default=FORM.filter.item_type_matches.0.partsgroup, with_empty=1, style='width: 300px') %]</td>
</tr>
<tr>
[% CASE 'business' %]
[% 'Type of Business' | $T8 %] [% 'is' | $T8 %] [% L.select_tag('price_rule.items[].value_int', SELF.businesses, title_key='description', default=item.value_int) %]
[% CASE 'partsgroup' %]
- [% 'Group' | $T8 %] [% 'is' | $T8 %] [% L.select_tag('price_rule.items[].value_int', SELF.partsgroups, title_key='partsgroup', default=item.value_int) %]
+ [% 'Partsgroup' | $T8 %] [% 'is' | $T8 %] [% L.select_tag('price_rule.items[].value_int', SELF.partsgroups, title_key='partsgroup', default=item.value_int) %]
[% CASE 'qty' %]
[% 'Quantity' | $T8 %] [% L.select_tag('price_rule.items[].op', num_compare_ops, default=item.op) %] [% L.input_tag('price_rule.items[].value_num_as_number', item.value_num_as_number) %]
[% CASE 'reqdate' %]
<option value="description">[% 'Part' | $T8 %]</option>
<option value="customername">[% 'Customer' | $T8 %]</option>
<option value="country">[% 'Country' | $T8 %]</option>
- <option value="partsgroup">[% 'Group' | $T8 %]</option>
+ <option value="partsgroup">[% 'Partsgroup' | $T8 %]</option>
<option value="business">[% 'Customer type' | $T8 %]</option>
<option value="salesman" selected="selected">[% 'Salesman' | $T8 %]</option>
<option value="month">[% 'Month' | $T8 %]</option>
<option value="description">[% 'Part' | $T8 %]</option>
<option value="customername">[% 'Customer' | $T8 %]</option>
<option value="country">[% 'Country' | $T8 %]</option>
- <option value="partsgroup">[% 'Group' | $T8 %]</option>
+ <option value="partsgroup">[% 'Partsgroup' | $T8 %]</option>
<option value="business">[% 'Customer type' | $T8 %]</option>
<option value="salesman">[% 'Salesman' | $T8 %]</option>
<option value="month" selected="selected">[% 'Month' | $T8 %]</option>
</tr>
<tr>
- <th align="right">[% 'Group' | $T8 %]</th>
+ <th align="right">[% 'Partsgroup' | $T8 %]</th>
<td>
[%- INCLUDE 'generic/multibox.html'
name = 'partsgroup_id',
<tr>
<td align=left><input name="l_parts_unit" class=checkbox type=checkbox value=Y>[% 'Base unit' | $T8 %]</td>
- <td align=left><input name="l_partsgroup" class=checkbox type=checkbox value=Y>[% 'Group' | $T8 %]</td>
+ <td align=left><input name="l_partsgroup" class=checkbox type=checkbox value=Y>[% 'Partsgroup' | $T8 %]</td>
<td align=left><input name="l_salesman" class=checkbox type=checkbox value=Y>[% 'Salesperson' | $T8 %]</td>
<td align=left><input name="l_employee" class=checkbox type=checkbox value=Y>[% 'Employee' | $T8 %]</td>
</tr>