Added audit trail.
[fa-stable.git] / gl / includes / db / gl_db_banking.inc
index 903b22b5ff0a24fe6bf3b96b0c1acedc07f14d83..981de46e9d4796d7db0ad86d50fc3ef9774c4110 100644 (file)
@@ -99,6 +99,7 @@ function add_bank_transfer($from_account, $to_account, $date_,
        add_comments($trans_type, $trans_no, $date_, $memo_);
 
        references::save_last($ref, $trans_type);
+       add_audit_trail($trans_type, $trans_no, $date_);
 
        commit_transaction();
 
@@ -218,6 +219,7 @@ function add_bank_transaction($trans_type, $from_account, $items, $date_,
        add_comments($trans_type, $trans_no, $date_, $memo_);
 
        references::save_last($ref, $trans_type);
+       add_audit_trail($trans_type, $trans_no, $date_);
 
        commit_transaction();