changes untested
This commit is contained in:
Regular → Executable
-1
@@ -147,7 +147,6 @@ export default defineComponent({
|
||||
})
|
||||
.then((result) => result.json())
|
||||
.then((data) => {
|
||||
console.log(data);
|
||||
// Redirect to Stripe Checkout
|
||||
return this.stripe.redirectToCheckout({ sessionId: data.sessionId });
|
||||
})
|
||||
|
||||
Regular → Executable
Regular → Executable
+1
-20
@@ -284,7 +284,7 @@ export default defineComponent({
|
||||
},
|
||||
mounted() {
|
||||
|
||||
this.getServicePrices();
|
||||
|
||||
// this.getStripePublishableKey();
|
||||
|
||||
},
|
||||
@@ -326,25 +326,6 @@ export default defineComponent({
|
||||
});
|
||||
},
|
||||
|
||||
getServicePrices() {
|
||||
let path = import.meta.env.VITE_BASE_URL + "/admin/service/get";
|
||||
axios({
|
||||
method: "get",
|
||||
url: path,
|
||||
withCredentials: true,
|
||||
})
|
||||
.then((response: any) => {
|
||||
this.service_prices = response.data;
|
||||
|
||||
})
|
||||
.catch(() => {
|
||||
notify({
|
||||
title: "Error",
|
||||
text: "Could not get service order",
|
||||
type: "error",
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
getServiceOrderNotes(service_id: any) {
|
||||
let path = import.meta.env.VITE_BASE_URL + "/service/call/notes" + service_id;
|
||||
|
||||
Regular → Executable
Regular → Executable
Reference in New Issue
Block a user