Updating Image URL
This commit is contained in:
@@ -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,
|
||||||
}))
|
}))
|
||||||
|
|||||||
Reference in New Issue
Block a user