X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep451.php;h=ece0519b7af61ec3df4d7ea896b504483368736e;hb=89d9b659abe59b9ee1357b3f08857f8f0e43e425;hp=88a1a69b41d5ec4ddab3160de516e2bdd923d7b5;hpb=efa2530a7c385a329c3fc76f4560b28ba97c3efe;p=fa-stable.git diff --git a/reporting/rep451.php b/reporting/rep451.php index 88a1a69b..ece0519b 100644 --- a/reporting/rep451.php +++ b/reporting/rep451.php @@ -94,7 +94,7 @@ function print_fixed_assets_valuation_report() $rep->NewPage(); //$res = getTransactions($category, $location, $date); - $sql = get_sql_for_fixed_assets(true); + $sql = get_sql_for_fixed_assets(false); $res = db_query($sql,"No transactions were returned"); $total = $grandtotal = 0.0; @@ -140,7 +140,7 @@ function print_fixed_assets_valuation_report() { $rep->NewLine(); $rep->TextCol(0, 1, $trans['stock_id']); - $rep->TextCol(1, 2, $trans['name'].($trans['inactive']==1 ? " ("._("Inactive").")" : ""), -1); + $rep->TextCol(1, 2, $trans['name']); $rep->TextCol(2, 3, $trans['units']); $rep->AmountCol(3, 4, $UnitCost, $dec); $rep->AmountCol(4, 5, $Depreciation, $dec);