X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fincludes%2Fdb%2Fcust_trans_db.inc;h=e8ccbf6708fbec53c39cdfd1129b1be5400efa75;hb=a2bd6e80fbe669ca10c3936bb5373994fe8e4918;hp=1492cba98a32cbdc54c2c0ae8707f32dfedbb7d1;hpb=a4ad697bbeaa3a21de158fe77457c666b9495285;p=fa-stable.git diff --git a/sales/includes/db/cust_trans_db.inc b/sales/includes/db/cust_trans_db.inc index 1492cba9..e8ccbf67 100644 --- a/sales/includes/db/cust_trans_db.inc +++ b/sales/includes/db/cust_trans_db.inc @@ -111,7 +111,7 @@ function write_customer_trans($trans_type, $trans_no, $debtor_no, $BranchNo, } db_query($sql, "The debtor transaction record could not be inserted"); - if ($trans_type != ST_JOURNAL) // skip for journal entries + if ($trans_type != ST_JOURNAL && $trans_type != ST_BANKDEPOSIT && $trans_type != ST_BANKPAYMENT) // skip for journal entries add_audit_trail($trans_type, $trans_no, $date_, $new ? '': _("Updated.")); return $trans_no;