Rammohan0504 commited on
Commit
e75a1e0
·
verified ·
1 Parent(s): 90e84ea

Update templates/order_history.html

Browse files
Files changed (1) hide show
  1. templates/order_history.html +1 -1
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: String(numericItemPrice), // Send price as a string
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