Spaces:
Sleeping
Sleeping
Update templates/order_history.html
Browse files
templates/order_history.html
CHANGED
@@ -143,7 +143,7 @@
|
|
143 |
const numericItemPrice = parseFloat(itemPrice.replace('$', '').trim()); // Convert to numeric value
|
144 |
const dataToSend = {
|
145 |
itemName: itemName,
|
146 |
-
itemPrice:
|
147 |
itemImage: itemImage,
|
148 |
addons: [], // Example: No addons for now
|
149 |
instructions: "", // Example: No instructions for now
|
|
|
143 |
const numericItemPrice = parseFloat(itemPrice.replace('$', '').trim()); // Convert to numeric value
|
144 |
const dataToSend = {
|
145 |
itemName: itemName,
|
146 |
+
itemPrice: numericItemPrice.toString(), // Send price as string after conversion to numeric
|
147 |
itemImage: itemImage,
|
148 |
addons: [], // Example: No addons for now
|
149 |
instructions: "", // Example: No instructions for now
|