mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-28 04:01:10 -04:00 
			
		
		
		
	Merge branch 'payment-reset' into 'master'
fix: on customer change remove selected invoice See merge request mohit.panjvani/crater-web!1308
This commit is contained in:
		| @ -514,8 +514,9 @@ function selectNewCustomer(id) { | |||||||
|  |  | ||||||
|   if (route.params.id) params.model_id = route.params.id |   if (route.params.id) params.model_id = route.params.id | ||||||
|  |  | ||||||
|   paymentStore.currentPayment.invoice_id = null |   paymentStore.currentPayment.invoice_id = selectedInvoice.value = null | ||||||
|  |   paymentStore.currentPayment.amount = 100 | ||||||
|  |   invoiceList.value = [] | ||||||
|   paymentStore.getNextNumber(params, true) |   paymentStore.getNextNumber(params, true) | ||||||
| } | } | ||||||
| </script> | </script> | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user