X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fincludes%2Fdb%2Fsales_credit_db.inc;h=cdf86abfdccaa4ebaed845476777f990c618cb0f;hb=5b8f4c4b4aa8cf996bc071f116bfce1273200fa2;hp=e7b97e55d789648f2c763bbc48aa54f3eb292397;hpb=06feaeabf5f8376201cf3aeb6367a4c97e1e2cbd;p=fa-stable.git diff --git a/sales/includes/db/sales_credit_db.inc b/sales/includes/db/sales_credit_db.inc index e7b97e55..cdf86abf 100644 --- a/sales/includes/db/sales_credit_db.inc +++ b/sales/includes/db/sales_credit_db.inc @@ -81,7 +81,7 @@ function write_credit_note(&$credit_note, $write_off_acc) $credit_note->freight_cost, $freight_added_tax, $credit_note->sales_type, $credit_note->order_no, $credit_note->ship_via, null, $alloc, 0, $credit_note->dimension_id, $credit_note->dimension2_id, - $credit_note->payment); + $credit_note->payment, $credit_note->tax_included); // 2008-06-14 extra $alloc, 2008-11-12 dimension_id Joe Hunt if ($trans_no==0) { @@ -178,7 +178,6 @@ function write_credit_note(&$credit_note, $write_off_acc) // Insert a stock movement coming back in to show the credit note and // a reversing stock movement to show the write off // - function add_credit_movements_item(&$credit_note, &$credit_line, $credit_type, $price, $credited_invoice=0) { @@ -288,4 +287,3 @@ function add_gl_trans_credit_costs($order, $order_line, $credit_no, $date_, return $total; } -?> \ No newline at end of file