Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a2198456

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

  • ID a2198456079f5205681f61e1132a089a8c92c9b1
  • Vorgänger 9b92c0c6
  • Nachfolger 86a253d0

Debitoren/Kreditorenbuchungen. Buchungsnummer als Info ausgeben

Buchungsnummer ist im gesamten Programm eindeutig und
für die Verknüpfung vom Papierbeleg zur Buchung ein sinnvoller
Nummernkreis. Dementsprechend wie bei den Dialogbuchungen diese
an den Bearbeiter zurückmelden.

Unterschiede anzeigen:

bin/mozilla/ap.pl
826 826
    # no restore_from_session_id needed. we like to have a newly generated
827 827
    # list of invoices for bank transactions
828 828
    print $form->redirect_header($form->{callback}) if ($form->{callback} =~ /BankTransaction/);
829
    $form->redirect($locale->text('AP transaction posted.')) unless $inline;
829
    $form->redirect($locale->text('AP transaction posted.') . ' ' . $locale->text('ID') . ': ' . $form->{id}) unless $inline;
830
    # TODO Add callback/return flag in myconfig
831
    # With version 3.5 we can add documents, but only after posting. there should be a flag in myconfig for the user
832
    # $form->{callback} ||= 'ap.pl?action=edit&id=' . $form->{id} if $myconfig{no_reset_arap};
833

  
830 834
  } else {
831 835
    $form->error($locale->text('Cannot post transaction!'));
832 836
  }
bin/mozilla/ar.pl
792 792
  }
793 793
  # /saving the history
794 794

  
795
  $form->redirect($locale->text("AR transaction posted.")) unless $inline;
795
  $form->redirect($locale->text('AR transaction posted.') . ' ' . $locale->text('ID') . ': ' . $form->{id}) unless $inline;
796 796

  
797 797
  $main::lxdebug->leave_sub();
798 798
}

Auch abrufbar als: Unified diff