Fixed a bug in presenting a fixed asset attachment (should be the Supplier Invoice).
[fa-stable.git] / fixed_assets / inquiry / stock_inquiry.php
index 424c97038f492eade656a6ffbb22652bf6afcb2b..3824a8530928e91d218d855cd2ab871be9ea544c 100644 (file)
@@ -121,7 +121,7 @@ function purchase_link($row)
        if ($row['purchase_date'] === NULL)
        return "";
 
-       return get_supplier_trans_view_str(ST_SUPPRECEIVE, $row["purchase_no"], sql2date($row["purchase_date"]));
+       return get_supplier_trans_view_str(ST_SUPPINVOICE, $row["purchase_no"], sql2date($row["purchase_date"]));
 }
 
 function disposal_link($row)