X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fincludes%2Fdb%2Fsales_delivery_db.inc;h=9155c0894e4c3b4dab8f0193a146a4f9c18c734e;hb=8429c2d2e1500cd879e084335391615e79fc3da3;hp=4d4829b2a1e67a03adc3fc4d2df66327ea299174;hpb=a3eb4321bb2f51f6fa4fde5f46287b6ecbcbcae3;p=fa-stable.git diff --git a/sales/includes/db/sales_delivery_db.inc b/sales/includes/db/sales_delivery_db.inc index 4d4829b2..9155c089 100644 --- a/sales/includes/db/sales_delivery_db.inc +++ b/sales/includes/db/sales_delivery_db.inc @@ -1,13 +1,13 @@ . + See the License here . ***********************************************************************/ //----------------------------------------------------------------------------- // insert/update sales delivery @@ -31,6 +31,7 @@ function write_sales_delivery(&$delivery,$bo_policy) $taxes = $delivery->get_taxes(); // all taxes with freight_tax foreach ($taxes as $taxitem) { + $taxitem['Value'] = round2($taxitem['Value'], user_price_dec()); $tax_total += $taxitem['Value']; } /* Insert/update the debtor_trans */