mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-22 15:50:32 +00:00
fix(webapp): inconsistency in currency of universal search items
This commit is contained in:
@@ -83,13 +83,13 @@ export function InvoiceUniversalSearchItem(
|
|||||||
<span class="bp4-text-muted">
|
<span class="bp4-text-muted">
|
||||||
{highlightText(item.reference.invoice_no, query)}{' '}
|
{highlightText(item.reference.invoice_no, query)}{' '}
|
||||||
<Icon icon={'caret-right-16'} iconSize={16} />
|
<Icon icon={'caret-right-16'} iconSize={16} />
|
||||||
{item.reference.formatted_invoice_date}
|
{item.reference.invoice_date_formatted}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
label={
|
label={
|
||||||
<>
|
<>
|
||||||
<div class="amount">${item.reference.balance}</div>
|
<div class="amount">${item.reference.total_formatted}</div>
|
||||||
<InvoiceStatus customer={item.reference} />
|
<InvoiceStatus customer={item.reference} />
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ export function ReceiptUniversalSearchItem(
|
|||||||
}
|
}
|
||||||
label={
|
label={
|
||||||
<>
|
<>
|
||||||
<div class="amount">${item.reference.amount}</div>
|
<div class="amount">${item.reference.formatted_amount}</div>
|
||||||
<ReceiptStatus receipt={item.reference} />
|
<ReceiptStatus receipt={item.reference} />
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user