small routing changes

This commit is contained in:
2025-09-18 19:31:13 -04:00
parent f7bc23d9ed
commit 886e7ed3ff
3 changed files with 71 additions and 67 deletions

View File

@@ -157,7 +157,7 @@
Pay Authorize.net
</button>
<!-- A single confirm button is cleaner -->
<button class="btn btn-primary" @click="checkoutOilUpdatePayment(delivery.payment_type)">
<button class="btn btn-primary" @click="checkoutOilUpdatePayment(1)">
Pay Tiger
</button>
<router-link v-if="delivery && delivery.id" :to="{ name: 'deliveryEdit', params: { id: delivery.id } }">
@@ -528,7 +528,7 @@ export default defineComponent({
type: "success",
});
}
this.$router.push({ name: "customerProfile", params: { id: this.customer.id } });
this.$router.push({ name: "deliveryOrder", params: { id: this.delivery.id } });
}
})
.catch(() => {