better customer screen WIP

This commit is contained in:
Paul Wilde 2023-03-20 18:39:43 +00:00
parent c5fd049d07
commit bd99364728

View file

@ -79,7 +79,7 @@ export default {
methods: { methods: {
getCustomerNotes(cust){ getCustomerNotes(cust){
this.notes_loading = true this.notes_loading = true
let url = this.$api_url + "/customers/" + cust + "/notes" let url = this.$api_url + "/customers/" + cust.acc_no + "/notes"
axios.get(url) axios.get(url)
.then(resp => { .then(resp => {
this.notes = resp.data this.notes = resp.data