projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New CHANGELOG.txt
[fa-stable.git]
/
reporting
/
rep308.php
diff --git
a/reporting/rep308.php
b/reporting/rep308.php
index a738e3d1c8fee9044cade109ba4b74fe61dca907..ffd880ebc804b86c2b34c04cc5f2c21f3df83793 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)
@@
-64,7
+64,7
@@
function fetch_items($category=0)
return db_query($sql,"No transactions were returned");
}
return db_query($sql,"No transactions were returned");
}
-function trans_qty($stock_id, $location
=null
, $from_date, $to_date, $inward = true)
+function trans_qty($stock_id, $location, $from_date, $to_date, $inward = true)
{
if ($from_date == null)
$from_date = Today();
{
if ($from_date == null)
$from_date = Today();
@@
-97,7
+97,7
@@
function trans_qty($stock_id, $location=null, $from_date, $to_date, $inward = tr
}
}
-function avg_unit_cost($stock_id, $location
=null
, $to_date)
+function avg_unit_cost($stock_id, $location, $to_date)
{
if ($to_date == null)
$to_date = Today();
{
if ($to_date == null)
$to_date = Today();
@@
-139,7
+139,7
@@
function avg_unit_cost($stock_id, $location=null, $to_date)
//----------------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------------------
-function trans_qty_unit_cost($stock_id, $location
=null
, $from_date, $to_date, $inward = true)
+function trans_qty_unit_cost($stock_id, $location, $from_date, $to_date, $inward = true)
{
if ($from_date == null)
$from_date = Today();
{
if ($from_date == null)
$from_date = Today();