Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 5b8213de

Von Tamino Steinert vor fast 2 Jahren hinzugefügt

  • ID 5b8213deb2313b20bd610a5655b602ce83e9db84
  • Vorgänger 1fd4143b
  • Nachfolger a04a47b1

Model::Record: nutze record_number um die Belegnummer anzuspechen

Unterschiede anzeigen:

SL/Model/Record.pm
406 406
  my %new_attrs;
407 407
  # Lets assign a new number if the user hasn't changed the previous one.
408 408
  # If it has been changed manually then use it as-is.
409
  $new_attrs{number}    = (trim($changed_record->number) eq $saved_record->number)
409
  $new_attrs{record_number}    = (trim($changed_record->record_number) eq $saved_record->record_number)
410 410
                        ? ''
411
                        : trim($changed_record->number);
411
                        : trim($changed_record->record_number);
412 412

  
413 413
  # Clear transdate unless changed
414 414
  $new_attrs{transdate} = ($changed_record->transdate == $saved_record->transdate)

Auch abrufbar als: Unified diff