Good progress
This commit is contained in:
@@ -339,8 +339,7 @@ export default defineComponent({
|
||||
})
|
||||
.then((response: any) => {
|
||||
if (response.data.ok) {
|
||||
console.log('%%%%%%%%%%%%%%%')
|
||||
console.log(response.data)
|
||||
|
||||
|
||||
this.priceprime = response.data.priceprime;
|
||||
this.pricesameday = response.data.pricesameday;
|
||||
@@ -348,7 +347,7 @@ export default defineComponent({
|
||||
this.total_amount = response.data.total_amount;
|
||||
this.discount = response.data.discount;
|
||||
this.total_amount_after_discount = response.data.total_amount_after_discount;
|
||||
console.log('%%%%%%%%%%%%%%%')
|
||||
|
||||
}
|
||||
})
|
||||
.catch(() => {
|
||||
@@ -408,7 +407,6 @@ export default defineComponent({
|
||||
});
|
||||
},
|
||||
getOilOrder(delivery_id: any) {
|
||||
console.log("=== DEBUG: getOilOrder called with delivery_id:", delivery_id);
|
||||
let path = import.meta.env.VITE_BASE_URL + "/delivery/order/" + delivery_id;
|
||||
axios({
|
||||
method: "get",
|
||||
@@ -500,6 +498,13 @@ export default defineComponent({
|
||||
type: "success",
|
||||
});
|
||||
}
|
||||
if (payment_type == 11) {
|
||||
notify({
|
||||
title: "Success",
|
||||
text: "marked payment as CC - Authorize (API)",
|
||||
type: "success",
|
||||
});
|
||||
}
|
||||
this.$router.push({ name: "customerProfile", params: { id: this.customer.id } });
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user