diff --git a/src/pages/automatic/home.vue b/src/pages/automatic/home.vue index aae0dc0..0967a62 100755 --- a/src/pages/automatic/home.vue +++ b/src/pages/automatic/home.vue @@ -101,7 +101,6 @@ Print Ticket - diff --git a/src/pages/delivery/update_tickets/finalize_ticket_auto_nocc.vue b/src/pages/delivery/update_tickets/finalize_ticket_auto_nocc.vue index 2bd019a..77f95ef 100644 --- a/src/pages/delivery/update_tickets/finalize_ticket_auto_nocc.vue +++ b/src/pages/delivery/update_tickets/finalize_ticket_auto_nocc.vue @@ -465,36 +465,6 @@ export default defineComponent({ }) }, - - - - - - UpdateDeliveredAuto(payload: { - gallons_delivered: string, - }) { - let path = import.meta.env.VITE_AUTO_URL + "/confirm/auto/update/" + this.autoDelivery.id; - axios({ - method: "put", - url: path, - data: payload, - withCredentials: true, - headers: authHeader(), - }) - .then((response: any) => { - if (response.data) { - notify({ - title: "Success", - text: "Auto Updated", - type: "success", - }); - // Removed redirect from here, will handle in onSubmit - } - }) - }, - - - CreateTransaction(auto_ticket_id: string,) { let path = import.meta.env.VITE_MONEY_URL + "/delivery/add/auto/" + auto_ticket_id; axios({ @@ -555,7 +525,6 @@ export default defineComponent({ let payload = { gallons_delivered: this.FinalizeOilOrderForm.gallons_delivered, }; - this.UpdateDeliveredAuto(payload); this.ConfirmAuto(payload) this.$router.push({ name: "auto" });