Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f3b66995

Von Sven Schöling vor fast 3 Jahren hinzugefügt

  • ID f3b66995f753e66b560d3c31c77539844c654856
  • Vorgänger f6b24823
  • Nachfolger a5c4622f

DeliveryOrder: stock info im dom speichern

Unterschiede anzeigen:

SL/Controller/DeliveryOrder.pm
890 890
sub action_stock_in_out_dialog {
891 891
  my ($self) = @_;
892 892

  
893
  my $part = SL::DB::Part->load_cached($::form->{parts_id}) or die "need parts_id";
894
  my $stock = $::form->{stock};
895
  my $unit = $::form->{unit};
896
  my $qty = _parse_number($::form->{qty_as_number});
893
  my $part    = SL::DB::Part->load_cached($::form->{parts_id}) or die "need parts_id";
894
  my $stock   = $::form->{stock};
895
  my $unit    = $::form->{unit};
896
  my $row     = $::form->{row};
897
  my $item_id = $::form->{item_id};
898
  my $qty     = _parse_number($::form->{qty_as_number});
897 899

  
898 900
  my $inout = $self->type_data->transfer;
899 901

  
......
904 906

  
905 907
  $self->render("delivery_order/stock_dialog", { layout => 0 },
906 908
    WHCONTENTS => $self->order->delivered ? $stock_info : \@contents,
907
    part  => $part,
908
    do_qty => $qty,
909
    do_unit => $unit,
910
    delivered => $self->order->delivered,
909
    part       => $part,
910
    do_qty     => $qty,
911
    do_unit    => $unit,
912
    delivered  => $self->order->delivered,
913
    row        => $row,
914
    itme_id    => $item_id,
911 915
  );
912 916
}
913 917

  

Auch abrufbar als: Unified diff