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