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:
Mohit Panjwani
2021-12-02 06:44:18 +00:00

View File

@ -514,8 +514,9 @@ function selectNewCustomer(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)
}
</script>