projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Inventory Adjustment: removed movement type, cleanups.
[fa-stable.git]
/
reporting
/
rep301.php
diff --git
a/reporting/rep301.php
b/reporting/rep301.php
index 9d2b83bae24da5a40723db8748892bbb91f142ae..fe8b58e743a9480ee840c37aad03ea6f99f5ff84 100644
(file)
--- a/
reporting/rep301.php
+++ b/
reporting/rep301.php
@@
-133,7
+133,7
@@
function getTransactions($category, $location, $date)
function print_inventory_valuation_report()
{
function print_inventory_valuation_report()
{
- global $path_to_root, $
use_costed_values;
;
+ global $path_to_root, $
SysPrefs
;
$date = $_POST['PARAM_0'];
$category = $_POST['PARAM_1'];
$date = $_POST['PARAM_0'];
$category = $_POST['PARAM_1'];
@@
-211,7
+211,7
@@
function print_inventory_valuation_report()
if ($detail)
$rep->NewLine();
}
if ($detail)
$rep->NewLine();
}
- if (isset($
use_costed_values) && $
use_costed_values==1)
+ if (isset($
SysPrefs->use_costed_values) && $SysPrefs->
use_costed_values==1)
{
$UnitCost = getAverageCost($trans['stock_id'], $date);
$ItemTotal = $trans['QtyOnHand'] * $UnitCost;
{
$UnitCost = getAverageCost($trans['stock_id'], $date);
$ItemTotal = $trans['QtyOnHand'] * $UnitCost;
@@
-258,4
+258,3
@@
function print_inventory_valuation_report()
$rep->End();
}
$rep->End();
}
-?>
\ No newline at end of file