23-Dec-2008 Joe Hunt
# Fixed an accounting sync in GL when adding bank account transactions (no customer/supplier trans)
-$ /gl/includes/db/bl_db_banking.inc
+$ /gl/includes/db/gl_db_banking.inc
22-Dec-2008 Janusz Dobrowolski
# [0000102] Credit note was stored without entered shippment cost and comment.
$trans_no = get_next_trans_no($trans_type);
if ($person_type_id == null)
$person_type_id = payment_person_types::misc();
- add_gl_trans($trans_type, $trans_no, $date_, $account, 0, 0, "",
+ add_gl_trans($trans_type, $trans_no, $date_, $account, 0, 0, _("Exchange Variance"),
-$diff, null, $person_type_id, $person_id);
- add_gl_trans($trans_type, $trans_no, $date_, get_company_pref('exchange_diff_act'), 0, 0, "",
- $diff, null, $person_type_id, $person_id);
+ add_gl_trans($trans_type, $trans_no, $date_, get_company_pref('exchange_diff_act'), 0, 0,
+ _("Exchange Variance"), $diff, null, $person_type_id, $person_id);
}
}