+
Auburn Oil
-
-
{{ past_delivery2.when_delivered }} - {{ past_delivery2.gallons_delivered }}
+
PO BOX 123
+
+
+
Auburn
+
+ Ma
+
+
01501
-
-
Have a Great day :)
-
+
+
+
+
+ {{ past_delivery.when_delivered }} - {{ past_delivery.gallons_delivered }}
+
+
+
+
+
+
@@ -153,6 +182,14 @@ export default defineComponent({
customer_phone_number: '',
account_number: '',
},
+ customer_description: {
+ id: 0,
+ customer_id: 0,
+ account_number: '',
+ company_id: '',
+ fill_location: 0,
+ description: '',
+ },
priceprime: 0,
pricesameday: 0,
total_amount: 0,
@@ -196,6 +233,17 @@ export default defineComponent({
});
});
},
+ getCustomerDescription(userid: any) {
+ let path = import.meta.env.VITE_BASE_URL + '/customer/description/' + userid;
+ axios({
+ method: 'get',
+ url: path,
+ headers: authHeader(),
+ }).then((response: any) => {
+
+ this.customer_description = response.data
+ })
+ },
sumdelivery(delivery_id: any) {
let path = import.meta.env.VITE_BASE_URL + "/delivery/total/" + delivery_id;
@@ -230,6 +278,7 @@ export default defineComponent({
this.customer = response.data
this.getPastDeliveries1(this.customer.id)
this.getPastDeliveries2(this.customer.id)
+ this.getCustomerDescription(this.customer.id)
})
},