Revision 59cc34f4
Von Jan Büren vor mehr als 5 Jahren hinzugefügt
SL/Controller/BankTransaction.pm | ||
---|---|---|
803 | 803 |
$bank_transaction->invoice_amount(0); |
804 | 804 |
$bank_transaction->cleared(0); |
805 | 805 |
$bank_transaction->save; |
806 |
# 6. and add a log entry in history_erp |
|
807 |
SL::DB::History->new( |
|
808 |
trans_id => $bank_transaction->id, |
|
809 |
snumbers => 'bank_transaction_unlink_' . $bank_transaction->id, |
|
810 |
employee_id => SL::DB::Manager::Employee->current->id, |
|
811 |
what_done => 'bank_transaction', |
|
812 |
addition => 'UNLINKED', |
|
813 |
)->save(); |
|
806 | 814 |
|
807 | 815 |
1; |
808 | 816 |
|
Auch abrufbar als: Unified diff
Kontoauszug verbuchen rückgängig: Mitarbeiter in history protokollieren