fix: invoice status of universal search item.

This commit is contained in:
a.bouhuolia
2021-09-20 11:41:13 +02:00
parent f9c7db6bcf
commit 1a9a859208
2 changed files with 9 additions and 2 deletions

View File

@@ -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}>

View File

@@ -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,
};
};