refactor: Total lines of commercial documents.

This commit is contained in:
a.bouhuolia
2021-12-21 16:51:47 +02:00
parent e2349f1951
commit 588995e759
39 changed files with 447 additions and 349 deletions

View File

@@ -110,11 +110,11 @@ export function TotalAmountAccessor(row) {
*/
export function PublishAccessor(row) {
return row.is_published ? (
<Tag minimal={true}>
<Tag round={true} minimal={true}>
<T id={'published'} />
</Tag>
) : (
<Tag minimal={true} intent={Intent.WARNING}>
<Tag round={true} minimal={true} intent={Intent.WARNING}>
<T id={'draft'} />
</Tag>
);