Fixed a bug in presenting a fixed asset attachment (should be the Supplier Invoice).
authorJoe <joe.hunt.consulting@gmail.com>
Sun, 5 Feb 2023 23:46:47 +0000 (00:46 +0100)
committerJoe <joe.hunt.consulting@gmail.com>
Sun, 5 Feb 2023 23:46:47 +0000 (00:46 +0100)
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)