mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
fix: invoice status of universal search item.
This commit is contained in:
@@ -33,7 +33,7 @@ export const InvoiceUniversalSearchSelect = withDrawerActions(
|
||||
/**
|
||||
* Invoice status.
|
||||
*/
|
||||
function InvoiceStatus(customer) {
|
||||
function InvoiceStatus({ customer }) {
|
||||
return (
|
||||
<Choose>
|
||||
<Choose.When condition={customer.is_fully_paid && customer.is_delivered}>
|
||||
|
||||
@@ -7,4 +7,11 @@ export const setAccountsTableState = (queries) => {
|
||||
};
|
||||
};
|
||||
|
||||
export const setSelectedRowsItems = () => {};
|
||||
/**
|
||||
* Resets the accounts table state.
|
||||
*/
|
||||
export const resetAccountsTableState = () => {
|
||||
return {
|
||||
type: t.ACCOUNTS_TABLE_STATE_RESET,
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user