mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -04:00
new build 501
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user