Cleanup: removed all closing tags in php files.
[fa-stable.git] / sales / includes / db / sales_credit_db.inc
index 0fb76057b1d9e059dbfe548be44132032e73545f..cdf86abfdccaa4ebaed845476777f990c618cb0f 100644 (file)
@@ -41,6 +41,8 @@ function write_credit_note(&$credit_note, $write_off_acc)
        $company_data = get_company_prefs();
        $branch_data = get_branch_accounts($credit_note->Branch);
 
+       add_new_exchange_rate(get_customer_currency($credit_note->customer_id), $credit_date, $credit_note->ex_rate);
+
        $credit_note_total = $credit_note->get_items_total_dispatch();
        $freight_tax = $credit_note->get_shipping_tax();
 
@@ -285,4 +287,3 @@ function add_gl_trans_credit_costs($order, $order_line, $credit_no, $date_,
        return $total;
 }
 
-?>
\ No newline at end of file