mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
feat: wip default message to sales transactions.
This commit is contained in:
@@ -6,7 +6,7 @@ import { Intent } from '@blueprintjs/core';
|
||||
|
||||
import { AppToaster } from '@/components';
|
||||
import { PreferencesCreditNotesFormSchema } from './PreferencesCreditNotesForm.schema';
|
||||
import { usePreferencesInvoiceFormContext } from './PreferencesCreditNotesFormBoot';
|
||||
import { usePreferencesCreditNotesFormContext } from './PreferencesCreditNotesFormBoot';
|
||||
import { PreferencesCreditNotesForm } from './PreferencesCreditNotesForm';
|
||||
import withDashboardActions from '@/containers/Dashboard/withDashboardActions';
|
||||
|
||||
@@ -18,16 +18,16 @@ const defaultValues = {
|
||||
};
|
||||
|
||||
/**
|
||||
* Preferences - .
|
||||
* Preferences - Credit Notes.
|
||||
*/
|
||||
function PreferencesCreditNotesFormPageRoot({
|
||||
// #withDashboardActions
|
||||
changePreferencesPageTitle,
|
||||
}) {
|
||||
const { organization } = usePreferencesInvoiceFormContext();
|
||||
const { organization } = usePreferencesCreditNotesFormContext();
|
||||
|
||||
useEffect(() => {
|
||||
changePreferencesPageTitle(intl.get('preferences.estimates'));
|
||||
changePreferencesPageTitle(intl.get('preferences.creditNotes'));
|
||||
}, [changePreferencesPageTitle]);
|
||||
|
||||
// Initial values.
|
||||
|
||||
Reference in New Issue
Block a user