feat: add convert to vendor credit in drawer.

This commit is contained in:
elforjani13
2021-12-26 17:11:04 +02:00
parent 2a9c1a9833
commit d5acb3696e
5 changed files with 61 additions and 8 deletions

View File

@@ -141,12 +141,12 @@ export function InvoiceDetailsStatus({ invoice }) {
<Choose>
<Choose.When condition={invoice.is_overdue}>
<StatusTag intent={Intent.WARNING} round={true}>
Overdue
<T id={'overdue'} />
</StatusTag>
</Choose.When>
<Choose.Otherwise>
<StatusTag intent={Intent.PRIMARY} round={true}>
Delivered
<T id={'delivered'} />
</StatusTag>
</Choose.Otherwise>
</Choose>