projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Payment terms related functions moved to separate file, common function for calculati...
[fa-stable.git]
/
reporting
/
rep308.php
diff --git
a/reporting/rep308.php
b/reporting/rep308.php
index a738e3d1c8fee9044cade109ba4b74fe61dca907..0837704d37bda96a4d1c23df5103e16959e62b1c 100644
(file)
--- a/
reporting/rep308.php
+++ b/
reporting/rep308.php
@@
-32,7
+32,7
@@
inventory_movements();
function get_domestic_price($myrow, $stock_id)
{
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)
{
$price = $myrow['price'];
if ($myrow['person_id'] > 0)
@@
-45,7
+45,7
@@
function get_domestic_price($myrow, $stock_id)
}
}
else
}
}
else
- $price = $myrow['
standard_cost']; //pick standard
_cost for sales deliveries
+ $price = $myrow['
unit_cost']; //pick unit
_cost for sales deliveries
return $price;
}
return $price;
}