- fix invoice status not updating issue

- date range selection issues on report for non-english languages
- fix invoice all tab issue (always showing draft even in all tab)
This commit is contained in:
Harsh Jagad
2022-02-24 05:22:32 +00:00
committed by Mohit Panjwani
parent 7202fdcbf2
commit 1322ed15dc
15 changed files with 268 additions and 61 deletions

View File

@ -170,6 +170,8 @@ let estimateMailForm = reactive({
body: null,
})
const emit = defineEmits(['update'])
const modalActive = computed(() => {
return modalStore.active && modalStore.componentName === 'SendEstimateModal'
})
@ -249,6 +251,7 @@ async function submitForm() {
isLoading.value = false
if (response.data.success) {
emit('update')
closeSendEstimateModal()
return true
}

View File

@ -167,6 +167,8 @@ let isLoading = ref(false)
const templateUrl = ref('')
const isPreview = ref(false)
const emit = defineEmits(['update'])
const invoiceMailFields = ref([
'customer',
'customerCustom',
@ -263,6 +265,7 @@ async function submitForm() {
isLoading.value = false
if (response.data.success) {
emit('update', modalStore.id)
closeSendInvoiceModal()
return true
}