Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace 'TVA 7.7%' by 'TVA' #89

Merged
merged 1 commit into from
Apr 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/ManualInvoiceModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

const vatOptions = [
{ value: 'EXONERE', label: 'EXONERE' },
{ value: 'TVA', label: 'TVA 7.7%' },
{ value: 'TVA', label: 'TVA' },
{ value: 'TAUX1', label: 'TVA incluse' },
]
// const defaultTvaOption = tvaOptions[1]
Expand Down Expand Up @@ -104,7 +104,7 @@
setValue('customClientEmail', customClientEmail)
}
}
}, [clientWatched])

Check warning on line 107 in src/components/ManualInvoiceModal.jsx

View workflow job for this annotation

GitHub Actions / build

src/components/ManualInvoiceModal.jsx#L107

React Hook useEffect has missing dependencies: 'isDirty', 'organizations', 'selectedInvoiceData', and 'setValue'. Either include them or remove the dependency array

const clientOptions = useMemo(
() =>
Expand Down Expand Up @@ -218,7 +218,7 @@
status: statusesOptions?.find(({ label }) => label === 'En préparation'),
})
}
}, [selectedInvoiceData, clientOptions, userOptions, statusesOptions])

Check warning on line 221 in src/components/ManualInvoiceModal.jsx

View workflow job for this annotation

GitHub Actions / build

src/components/ManualInvoiceModal.jsx#L221

React Hook useEffect has missing dependencies: 'invoiceTypeOptions', 'reasonOptions', and 'reset'. Either include them or remove the dependency array

const [updateInvoice, { isLoading: isInvoiceUpdating }] = useUpdateManualInvoiceMutation()
const [createInvoice, { isLoading: isInvoiceCreating }] = useCreateManualInvoiceMutation()
Expand Down
Loading