changes untested

This commit is contained in:
2024-03-28 10:33:56 -04:00
parent 06dcc6ab93
commit 5b13032cd6
86 changed files with 1434 additions and 2647 deletions

1
src/pages/pay/cancel.vue Normal file → Executable file
View File

@@ -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 });
})

0
src/pages/pay/pay_oil.vue Normal file → Executable file
View File

21
src/pages/pay/pay_service.vue Normal file → Executable file
View File

@@ -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;

0
src/pages/pay/routes.ts Normal file → Executable file
View File

0
src/pages/pay/success.vue Normal file → Executable file
View File