projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rerun of connect_db_mysqli.inc.
[fa-stable.git]
/
reporting
/
rep308.php
diff --git
a/reporting/rep308.php
b/reporting/rep308.php
index 0981c2ad64276153b9e67943192ad18a9e34547a..ffd880ebc804b86c2b34c04cc5f2c21f3df83793 100644
(file)
--- a/
reporting/rep308.php
+++ b/
reporting/rep308.php
@@
-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();