refactor and merge backend

This commit is contained in:
Jay Makwana
2020-03-18 18:21:53 +05:30
parent 4d1b267688
commit 82d85af672
3 changed files with 11 additions and 11 deletions

View File

@ -322,6 +322,9 @@ export default {
this.formData.expense_date = moment(this.formData.expense_date).toString()
this.formData.amount = (response.data.expense.amount)
this.fileSendUrl = `/api/expenses/${this.$route.params.id}`
if (response.data.expense.user_id) {
this.customer = this.customerList.find(customer => customer.id === response.data.expense.user_id)
}
}
},
async sendData () {