Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4a9b86a5

Von Moritz Bunkus vor mehr als 16 Jahren hinzugefügt

  • ID 4a9b86a56fa151d2fde072202ccabd5fc1fbaacc
  • Vorgänger 74c7135d
  • Nachfolger 3c1ceacd

------------------------------------------------------------------------
r7133 | mbunkus | 2008-06-20 10:19:46 +0200 (Fri, 20 Jun 2008) | 1 line

Verhindern, dass Lieferscheine mehrfach ein- bzw. ausgelagert werden.
------------------------------------------------------------------------

Unterschiede anzeigen:

bin/mozilla/do.pl
1060 1060
sub transfer_in {
1061 1061
  $lxdebug->enter_sub();
1062 1062

  
1063
  if (DO->is_marked_as_delivered('id' => $form->{id})) {
1064
    $form->show_generic_error($locale->text('The parts for this delivery order have already been transferred in.'), 'back_button' => 1);
1065
  }
1066

  
1063 1067
  my @part_ids = map { $form->{"id_${_}"} } grep { $form->{"id_${_}"} && $form->{"stock_in_${_}"} } (1 .. $form->{rowcount});
1064 1068
  my @all_requests;
1065 1069

  
......
1116 1120
sub transfer_out {
1117 1121
  $lxdebug->enter_sub();
1118 1122

  
1123
  if (DO->is_marked_as_delivered('id' => $form->{id})) {
1124
    $form->show_generic_error($locale->text('The parts for this delivery order have already been transferred out.'), 'back_button' => 1);
1125
  }
1126

  
1119 1127
  my @part_ids = map { $form->{"id_${_}"} } grep { $form->{"id_${_}"} && $form->{"stock_out_${_}"} } (1 .. $form->{rowcount});
1120 1128
  my @all_requests;
1121 1129

  

Auch abrufbar als: Unified diff