Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8febb33c

Von Tamino Steinert vor 6 Tagen hinzugefügt

  • ID 8febb33c7330c5d3d92d66bed424c1b2e65f61de
  • Vorgänger 21bd3126
  • Nachfolger 55f4cc16

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
2600 2600

  
2601 2601
  my $i = $form->{rowcount};
2602 2602

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

  
2606 2607
  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