feat: wip default message to sales transactions.

This commit is contained in:
Ahmed Bouhuolia
2023-12-14 20:47:52 +02:00
parent 33e5d1a979
commit 217321380a
18 changed files with 325 additions and 38 deletions

View File

@@ -6,7 +6,7 @@ import { Intent } from '@blueprintjs/core';
import { AppToaster } from '@/components';
import { PreferencesEstimatesFormSchema } from './PreferencesEstimatesForm.schema';
import { usePreferencesInvoiceFormContext } from './PreferencesEstimatesFormBoot';
import { usePreferencesEstimatesFormContext } from './PreferencesEstimatesFormBoot';
import { PreferencesEstimatesForm } from './PreferencesEstimatesForm';
import withDashboardActions from '@/containers/Dashboard/withDashboardActions';
@@ -24,7 +24,7 @@ function PreferencesEstimatesFormPageRoot({
// #withDashboardActions
changePreferencesPageTitle,
}) {
const { organization } = usePreferencesInvoiceFormContext();
const { organization } = usePreferencesEstimatesFormContext();
useEffect(() => {
changePreferencesPageTitle(intl.get('preferences.estimates'));