mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -04:00
- 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:
committed by
Mohit Panjwani
parent
7202fdcbf2
commit
1322ed15dc
@ -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
|
||||
}
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user