Fixed bug edit delivery

This commit is contained in:
2025-09-19 17:37:17 -04:00
parent 16da5bf1c0
commit 481420e795

View File

@@ -526,7 +526,7 @@ export default defineComponent({
.then(() => {
notify({ type: 'success', title: 'Success!', text: 'Delivery updated.' });
if (paymentType === 1) {
this.$router.push({ name: 'PayOil', params: { id: this.deliveryOrder.id } });
this.$router.push({ name: 'payOil', params: { id: this.deliveryOrder.id } });
} else {
this.$router.push({ name: 'deliveryOrder', params: { id: this.deliveryOrder.id } });
}