From: Janusz Dobrowolski Date: Fri, 26 Sep 2008 07:31:14 +0000 (+0000) Subject: Bug [0000062] duplicated tax details after delivery note edition. X-Git-Tag: 2.3-final~1429 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=0a61c5177230a1899f267533c95555fcea0b5e92;p=fa-stable.git Bug [0000062] duplicated tax details after delivery note edition. --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 9d77d554..2c23a361 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,10 @@ Legend: ! -> Note $ -> Affected files +26-Sep-2008 Janusz Dobrowolski +# Bug [0000062] Delivery Modifitication - duplicated tax details. +$ /sales/includes/db/sales_delivery_db.inc + 25-Sep-2008 Joe Hunt # if MySQL is in strict sql mode, a couple of files didn't pass that. Better not use strict sql mode. This is not necessary, because FA handle this internally. in my.ini(win) or my.cnf(linux) set sql-mode="". diff --git a/sales/includes/db/sales_delivery_db.inc b/sales/includes/db/sales_delivery_db.inc index c592373f..6b0cc5e6 100644 --- a/sales/includes/db/sales_delivery_db.inc +++ b/sales/includes/db/sales_delivery_db.inc @@ -38,6 +38,7 @@ function write_sales_delivery(&$delivery,$bo_policy) } else { void_gl_trans(13, $delivery_no, true); void_stock_move(13, $delivery_no); + void_customer_trans_tax_details(13, $delivery_no); delete_comments(13, $delivery_no); }