Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 6cebe28d

Von Tamino Steinert vor etwa 1 Jahr hinzugefügt

  • ID 6cebe28d8d780fa0bb03701ef77664d2a895b9a1
  • Vorgänger e9ceb728
  • Nachfolger bb2aab07

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