Updating Image URL

This commit is contained in:
aruhani
2025-04-20 23:22:15 -06:00
parent 89f5032212
commit eff9d9d91b

View File

@@ -26,7 +26,7 @@ const Transactions = () => {
productId: tx.ProductID, productId: tx.ProductID,
name: tx.ProductName || "Unnamed Product", name: tx.ProductName || "Unnamed Product",
price: tx.Price != null ? parseFloat(tx.Price) : null, price: tx.Price != null ? parseFloat(tx.Price) : null,
image: tx.image_url || "/default-image.jpg", image: tx.Image_URL || "/default-image.jpg",
date: tx.Date, date: tx.Date,
status: tx.PaymentStatus, status: tx.PaymentStatus,
})) }))