diff --git a/resources/assets/js/views/payments/Create.vue b/resources/assets/js/views/payments/Create.vue index d31c5ab0..53e19193 100644 --- a/resources/assets/js/views/payments/Create.vue +++ b/resources/assets/js/views/payments/Create.vue @@ -246,10 +246,10 @@ export default { watch: { customer (newValue) { this.formData.user_id = newValue.id - this.invoice = null - this.formData.amount = 0 - this.invoiceList = [] if (!this.isEdit) { + this.invoice = null + this.formData.amount = 0 + this.invoiceList = [] this.fetchCustomerInvoices(newValue.id) } },