X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep308.php;h=ffd880ebc804b86c2b34c04cc5f2c21f3df83793;hb=d1de4b72e5fa6b5952c75b7c79479935bdd0d9d8;hp=0981c2ad64276153b9e67943192ad18a9e34547a;hpb=d94a924a5ad03d723ef50047204c9f543acab4dd;p=fa-stable.git diff --git a/reporting/rep308.php b/reporting/rep308.php index 0981c2ad..ffd880eb 100644 --- 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"); } -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(); @@ -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(); @@ -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();