mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 05:31:10 -04:00 
			
		
		
		
	fix edit payment issue
This commit is contained in:
		| @ -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) | ||||
|       } | ||||
|     }, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user