mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-22 15:50:32 +00:00
feat(VendorCredit): optimize data table style.
This commit is contained in:
@@ -24,6 +24,7 @@ function RefundCreditNoteDialog({
|
|||||||
canEscapeJeyClose={true}
|
canEscapeJeyClose={true}
|
||||||
autoFocus={true}
|
autoFocus={true}
|
||||||
className={'dialog--refund-credit-note'}
|
className={'dialog--refund-credit-note'}
|
||||||
|
style={{ width: '450px' }}
|
||||||
>
|
>
|
||||||
<DialogSuspense>
|
<DialogSuspense>
|
||||||
<RefundCreditNoteDialogContent
|
<RefundCreditNoteDialogContent
|
||||||
|
|||||||
@@ -72,18 +72,18 @@ export function StatusAccessor(creditNote) {
|
|||||||
<div>
|
<div>
|
||||||
<Choose>
|
<Choose>
|
||||||
<Choose.When condition={creditNote.is_open}>
|
<Choose.When condition={creditNote.is_open}>
|
||||||
<Tag minimal={true} intent={Intent.WARNING}>
|
<Tag minimal={true} intent={Intent.WARNING} round={true}>
|
||||||
<T id={'open'} />
|
<T id={'open'} />
|
||||||
</Tag>
|
</Tag>
|
||||||
</Choose.When>
|
</Choose.When>
|
||||||
|
|
||||||
<Choose.When condition={creditNote.is_closed}>
|
<Choose.When condition={creditNote.is_closed}>
|
||||||
<Tag minimal={true} intent={Intent.SUCCESS}>
|
<Tag minimal={true} intent={Intent.SUCCESS} round={true}>
|
||||||
<T id={'closed'} />
|
<T id={'closed'} />
|
||||||
</Tag>
|
</Tag>
|
||||||
</Choose.When>
|
</Choose.When>
|
||||||
|
|
||||||
<Choose.When condition={creditNote.is_draft}>
|
<Choose.When condition={creditNote.is_draft} round={true}>
|
||||||
<Tag minimal={true}>
|
<Tag minimal={true}>
|
||||||
<T id={'draft'} />
|
<T id={'draft'} />
|
||||||
</Tag>
|
</Tag>
|
||||||
|
|||||||
Reference in New Issue
Block a user