From 2ae720821e4cc364dddef0a98354d17ea58a6238 Mon Sep 17 00:00:00 2001 From: elforjani13 <39470382+elforjani13@users.noreply.github.com> Date: Thu, 8 Sep 2022 21:44:16 +0200 Subject: [PATCH] feat: add project invoicing cell. --- .../DataTableCells/ProjectInvoicingCell.tsx | 47 +++++++++++++++++++ src/components/DataTableCells/index.tsx | 2 + src/containers/Entries/components.tsx | 10 ++++ .../ProjectDetailActionsBar.tsx | 3 ++ 4 files changed, 62 insertions(+) create mode 100644 src/components/DataTableCells/ProjectInvoicingCell.tsx diff --git a/src/components/DataTableCells/ProjectInvoicingCell.tsx b/src/components/DataTableCells/ProjectInvoicingCell.tsx new file mode 100644 index 000000000..890d9a768 --- /dev/null +++ b/src/components/DataTableCells/ProjectInvoicingCell.tsx @@ -0,0 +1,47 @@ +import React from 'react'; +import styled from 'styled-components'; +import { Popover2 } from '@blueprintjs/popover2'; +import { Button } from '@blueprintjs/core'; +import { CellType } from '@/constants'; +import { + Icon, + FormattedMessage as T, + ButtonLink, + DetailsMenu, + DetailItem, + FormatDate, +} from '@/components'; + +/** + * @return + */ +export function ProjectInvoicingCell({}) { + const content = ( + + + + Expense + + EXP-1000 + 2022-02-02 + $1000.00 + + + ); + return ( + +