change product and razorpay

This commit is contained in:
pawan-dot 2024-04-18 17:48:54 +05:30
parent 75b5bc7c0e
commit f7143bdc9d
3 changed files with 921 additions and 424 deletions

View File

@ -14,7 +14,7 @@ import { cibGmail } from "@coreui/icons";
import { createRoot } from "react-dom/client"; import { createRoot } from "react-dom/client";
const setupAxios = () => { const setupAxios = () => {
//axios.defaults.baseURL = "http://localhost:5000"; // axios.defaults.baseURL = "http://localhost:5000";
axios.defaults.baseURL = "https://api.smellika.com"; axios.defaults.baseURL = "https://api.smellika.com";
axios.defaults.headers = { axios.defaults.headers = {

File diff suppressed because it is too large Load Diff

View File

@ -523,8 +523,7 @@ function ViewOrders() {
<p className="m-0 mt-3 ms-3"> <p className="m-0 mt-3 ms-3">
<stong> Subtotal:</stong> <stong> Subtotal:</stong>
{productDetails?.quantity * {productDetails?.product_Subtotal}
productDetails?.total_Amount}
</p> </p>
</div> </div>
<div className="col-sm-6"> <div className="col-sm-6">