X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fincludes%2Fdb%2Fgl_db_banking.inc;h=18ea49603131c781e85160b972fe718ddd1ef159;hb=80f65fcccf34fc034e369f44de103599de96fd87;hp=903b22b5ff0a24fe6bf3b96b0c1acedc07f14d83;hpb=21290a4a16ca78fe736f62cf1cb039c06cb53fca;p=fa-stable.git diff --git a/gl/includes/db/gl_db_banking.inc b/gl/includes/db/gl_db_banking.inc index 903b22b5..18ea4960 100644 --- a/gl/includes/db/gl_db_banking.inc +++ b/gl/includes/db/gl_db_banking.inc @@ -98,7 +98,8 @@ function add_bank_transfer($from_account, $to_account, $date_, add_comments($trans_type, $trans_no, $date_, $memo_); - references::save_last($ref, $trans_type); + references::save($trans_type, $trans_no, $ref); + add_audit_trail($trans_type, $trans_no, $date_); commit_transaction(); @@ -217,7 +218,8 @@ function add_bank_transaction($trans_type, $from_account, $items, $date_, add_comments($trans_type, $trans_no, $date_, $memo_); - references::save_last($ref, $trans_type); + references::save($trans_type, $trans_no, $ref); + add_audit_trail($trans_type, $trans_no, $date_); commit_transaction();