mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
feat: notes.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import React from 'react';
|
||||
import intl from 'react-intl-universal';
|
||||
import { MenuItem, Intent } from '@blueprintjs/core';
|
||||
|
||||
import { Icon, Choose, T, TextStatus } from 'components';
|
||||
@@ -108,7 +109,7 @@ const transformReceiptsToSearch = (creditNote) => ({
|
||||
*/
|
||||
export const universalSearchCreditNoteBind = () => ({
|
||||
resourceType: RESOURCES_TYPES.CREDIT_NOTE,
|
||||
optionItemLabel: 'Credit notes',
|
||||
optionItemLabel: intl.get('credit_note.label'),
|
||||
selectItemAction: CreditNoteUniversalSearchSelect,
|
||||
itemRenderer: CreditNoteUniversalSearchItem,
|
||||
itemSelect: transformReceiptsToSearch,
|
||||
|
||||
Reference in New Issue
Block a user