Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision bf42cb97

Von Tamino Steinert vor 8 Monaten hinzugefügt

  • ID bf42cb973363dce04d86b049ae389a81e1d00d59
  • Vorgänger 2c62496f
  • Nachfolger 1c54dd60

Varianten: keine Stammartikel in Belegen verwenden

Unterschiede anzeigen:

SL/IR.pm
1276 1276

  
1277 1277
  my $i = $form->{rowcount};
1278 1278

  
1279
  # don't include assemblies or obsolete parts
1280
  my $where = "NOT p.part_type = 'assembly' AND NOT p.obsolete = '1'";
1279
  # don't include parent_variants or assemblies or obsolete parts
1280
  my $where = "NOT p.variant_type = 'parent_variant' and NOT p.part_type = 'assembly' AND NOT p.obsolete = '1'";
1281 1281
  my @values;
1282 1282

  
1283 1283
  foreach my $table_column (qw(p.partnumber p.description pg.partsgroup)) {
SL/IS.pm
2598 2598

  
2599 2599
  my $i = $form->{rowcount};
2600 2600

  
2601
  my $where = qq|NOT p.obsolete = '1'|;
2601
  # don't include parent_variants or obsolete parts
2602
  my $where = qq|NOT p.variant_type = 'parent_variant' and NOT p.obsolete = '1'|;
2602 2603
  my @values;
2603 2604

  
2604 2605
  foreach my $column (qw(p.partnumber p.description pgpartsgroup )) {
templates/design40_webpages/delivery_order/tabs/_item_input.html
16 16
            [%- SET PARAM_VAL = SELF.search_cvpartnumber -%]
17 17
            [% P.part.picker('add_item.parts_id', SELF.created_part,
18 18
                              class="add_item_input wi-normal",
19
                              variant_type="single,variant",
19 20
                              fat_set_item=1,
20 21
                              multiple_pos_input=1,
21 22
                              action={set_multi_items='kivi.DeliveryOrder.add_multi_items'},
templates/design40_webpages/order/tabs/_item_input.html
19 19
          [%- SET PARAM_KEY = SELF.cv == "customer" ? 'with_customer_partnumber' : 'with_makemodel' -%]
20 20
          [%- SET PARAM_VAL = SELF.search_cvpartnumber -%]
21 21
          [% P.part.picker('add_item.parts_id', SELF.created_part, class="add_item_input wi-normal",
22
             variant_type="single,variant",
22 23
             fat_set_item=1,
23 24
             multiple_pos_input=1,
24 25
             action={set_multi_items='kivi.Order.add_multi_items'},
templates/design40_webpages/reclamation/tabs/basic_data/_item_input.html
18 18
            [%- SET PARAM_KEY = SELF.cv == "customer" ? 'with_customer_partnumber' : 'with_makemodel' -%]
19 19
            [%- SET PARAM_VAL = SELF.search_cvpartnumber -%]
20 20
            [% P.part.picker('add_item.parts_id', SELF.created_part, class="add_item_input wi-normal",
21
                              variant_type="single,variant",
21 22
                              fat_set_item=1,
22 23
                              multiple_pos_input=1,
23 24
                              action={set_multi_items='kivi.Reclamation.add_multi_items'},

Auch abrufbar als: Unified diff