Revision a0f6a00c
Von Thomas Kasulke vor fast 18 Jahren hinzugefügt
bin/mozilla/ir.pl | ||
---|---|---|
1041 | 1041 |
|
1042 | 1042 |
if(!exists $form->{addition} && $form->{id} ne "") { |
1043 | 1043 |
# saving the history |
1044 |
$form->{snumbers} = qq|invnumber|; |
|
1044 | 1045 |
$form->{addition} = "PAYMENT POSTED"; |
1045 | 1046 |
$form->save_history($form->dbconnect(\%myconfig)); |
1046 | 1047 |
# /saving the history |
... | ... | |
1104 | 1105 |
if (IR->post_invoice(\%myconfig, \%$form)){ |
1105 | 1106 |
# saving the history |
1106 | 1107 |
if(!exists $form->{addition} && $form->{id} ne "") { |
1107 |
$form->{addition} = "POSTED"; |
|
1108 |
$form->{snumbers} = qq|invnumber|; |
|
1109 |
$form->{addition} = "POSTED"; |
|
1108 | 1110 |
#$form->{what_done} = $locale->text("Rechnungsnummer") . qq| | . $form->{invnumber}; |
1109 | 1111 |
$form->save_history($form->dbconnect(\%myconfig)); |
1110 | 1112 |
} |
... | ... | |
1157 | 1159 |
if (IR->delete_invoice(\%myconfig, \%$form)) { |
1158 | 1160 |
# saving the history |
1159 | 1161 |
if(!exists $form->{addition}) { |
1162 |
$form->{snumbers} = qq|invnumber|; |
|
1160 | 1163 |
$form->{addition} = "DELETED"; |
1161 | 1164 |
$form->save_history($form->dbconnect(\%myconfig)); |
1162 | 1165 |
} |
Auch abrufbar als: Unified diff
history_search auf Buchungsnummern etcpp angepasst, so dass man auch gelöschte Daten in der Historie suchen kann.
Anpassungen innerhalb der Variablenübergabe:
$form->{snumbers} muß beim speichern der history gesetzt werden (z.B. $form->{snumbers} = qq|invnumber_| . $form->{invnumber}; )