new build 501

This commit is contained in:
Mohit Panjwani
2021-12-01 19:20:53 +05:30
parent 40f3415e28
commit 4d14b1552f
76 changed files with 238 additions and 234 deletions

View File

@ -424,6 +424,7 @@ function onCustomerChange(customer_id) {
let data = {
customer_id: customer_id,
status: 'DUE',
limit: 'all',
}
if (isEdit.value) {
@ -510,8 +511,11 @@ function selectNewCustomer(id) {
let params = {
userId: id,
}
if (route.params.id) params.model_id = route.params.id
paymentStore.currentPayment.invoice_id = null
paymentStore.getNextNumber(params, true)
}
</script>