Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b987fa17

Von Jan Büren vor mehr als 3 Jahren hinzugefügt

  • ID b987fa17f53deb2782f2ad7b35049c700c26f01a
  • Vorgänger fa04f813
  • Nachfolger 867a69bc

fix #480 mark_as_delivered nach Wareneingang im LS berechnen

Unterschiede anzeigen:

SL/DO.pm
557 557
                            'to_id'      => $form->{id},
558 558
    );
559 559
  delete $form->{convert_from_oe_ids};
560

  
561
  $self->mark_orders_if_delivered('do_id' => $form->{id},
562
                                  'type'  => $form->{type} eq 'sales_delivery_order' ? 'sales' : 'purchase',
563
                                  'dbh'   => $dbh,);
560
  unless ($::instance_conf->get_shipped_qty_require_stock_out) {
561
    $self->mark_orders_if_delivered('do_id' => $form->{id},
562
                                    'type'  => $form->{type} eq 'sales_delivery_order' ? 'sales' : 'purchase');
563
  }
564 564

  
565 565
  $form->{saved_donumber} = $form->{donumber};
566 566
  $form->{saved_ordnumber} = $form->{ordnumber};
......
1263 1263

  
1264 1264
  WH->transfer(@transfers);
1265 1265

  
1266
  if ($::instance_conf->get_shipped_qty_require_stock_out) {
1267
    $self->mark_orders_if_delivered('do_id' => $form->{id},
1268
                                    'type'  => $form->{type} eq 'sales_delivery_order' ? 'sales' : 'purchase');
1269
  }
1270

  
1266 1271
  $main::lxdebug->leave_sub();
1267 1272
}
1268 1273

  

Auch abrufbar als: Unified diff