X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep308.php;h=0837704d37bda96a4d1c23df5103e16959e62b1c;hb=128be63f9ae68744f37eae8072f95d0f524f86b4;hp=a738e3d1c8fee9044cade109ba4b74fe61dca907;hpb=c2b751f91d79c69bb802b1bff13a3c4bdecb87b0;p=fa-stable.git diff --git a/reporting/rep308.php b/reporting/rep308.php index a738e3d1..0837704d 100644 --- a/reporting/rep308.php +++ b/reporting/rep308.php @@ -32,7 +32,7 @@ inventory_movements(); function get_domestic_price($myrow, $stock_id) { - if ($myrow['type'] == ST_SUPPRECEIVE || $myrow['type'] == ST_SUPPCREDIT || $myrow['type'] == ST_INVADJUST) + if ($myrow['type'] == ST_SUPPRECEIVE || $myrow['type'] == ST_SUPPCREDIT) { $price = $myrow['price']; if ($myrow['person_id'] > 0) @@ -45,7 +45,7 @@ function get_domestic_price($myrow, $stock_id) } } else - $price = $myrow['standard_cost']; //pick standard_cost for sales deliveries + $price = $myrow['unit_cost']; //pick unit_cost for sales deliveries return $price; }