mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
feat: wip default message to sales transactions.
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
// @ts-nocheck
|
||||
import { PreferencesEstimatesBoot } from './PreferencesEstimatesFormBoot';
|
||||
import PreferencesInvoiceFormPage from './PreferencesEstimatesFormPage';
|
||||
import { PreferencesEstimatesFormPage } from './PreferencesEstimatesFormPage';
|
||||
|
||||
/**
|
||||
* items preferences.
|
||||
* Estimates preferences.
|
||||
*/
|
||||
export default function PreferencesEstimates() {
|
||||
export function PreferencesEstimates() {
|
||||
return (
|
||||
<PreferencesEstimatesBoot>
|
||||
<PreferencesInvoiceFormPage />
|
||||
<PreferencesEstimatesFormPage />
|
||||
</PreferencesEstimatesBoot>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user