diff --git a/locale/defaultMessages.json b/locale/defaultMessages.json index b2a35b697..febc07f49 100644 --- a/locale/defaultMessages.json +++ b/locale/defaultMessages.json @@ -2693,10 +2693,6 @@ "context": "section header", "string": "Invoices" }, - "src_dot_orders_dot_components_dot_OrderInvoiceList_dot_2489266682": { - "context": "invoice number", - "string": "Invoice no" - }, "src_dot_orders_dot_components_dot_OrderInvoiceList_dot_2739475235": { "context": "invoice create date prefix", "string": "created" @@ -2708,10 +2704,6 @@ "context": "invoice number prefix", "string": "Invoice" }, - "src_dot_orders_dot_components_dot_OrderInvoiceList_dot_4120604650": { - "context": "action for invoice", - "string": "Action" - }, "src_dot_orders_dot_components_dot_OrderInvoiceList_dot_949234851": { "context": "generate invoice button", "string": "Generate" diff --git a/src/orders/components/OrderInvoiceList/OrderInvoiceList.tsx b/src/orders/components/OrderInvoiceList/OrderInvoiceList.tsx index c22bb9080..73d8d9e0a 100644 --- a/src/orders/components/OrderInvoiceList/OrderInvoiceList.tsx +++ b/src/orders/components/OrderInvoiceList/OrderInvoiceList.tsx @@ -4,14 +4,12 @@ import CardContent from "@material-ui/core/CardContent"; import { makeStyles } from "@material-ui/core/styles"; import TableBody from "@material-ui/core/TableBody"; import TableCell from "@material-ui/core/TableCell"; -import TableHead from "@material-ui/core/TableHead"; import TableRow from "@material-ui/core/TableRow"; import Typography from "@material-ui/core/Typography"; import CardTitle from "@saleor/components/CardTitle"; import Date from "@saleor/components/Date"; import ResponsiveTable from "@saleor/components/ResponsiveTable"; import Skeleton from "@saleor/components/Skeleton"; -import TableCellHeader from "@saleor/components/TableCellHeader"; import { InvoiceFragment } from "@saleor/fragments/types/InvoiceFragment"; import { buttonMessages } from "@saleor/intl"; import React from "react"; @@ -82,27 +80,9 @@ const OrderInvoiceList: React.FC = props => { ) : ( - - - - - - {onInvoiceSend && ( - - - - )} - - {generatedInvoices.map(invoice => ( - + - - - -
-
- Invoice no -
-
- - -
-
- Action -
-
- - - - - - -
-
- Invoice no -
-
- - -
-
- Action -
-
- - - - - - -
-
- Invoice no -
-
- - -
-
- Action -
-
- - - - - - -
-
- Invoice no -
-
- - -
-
- Action -
-
- - - - - - -
-
- Invoice no -
-
- - -
-
- Action -
-
- - - - - - -
-
- Invoice no -
-
- - -
-
- Action -
-
- - - - - - -
-
- Invoice no -
-
- - -
-
- Action -
-
- - - - - - -
-
- Invoice no -
-
- - -
-
- Action -
-
- - - - - - -
-
- Invoice no -
-
- - -
-
- Action -
-
- - - - - - -
-
- Invoice no -
-
- - -
-
- Action -
-
- - - - - - -
-
- Invoice no -
-
- - -
-
- Action -
-
- - - - - - -
-
- Invoice no -
-
- - -
-
- Action -
-
- - - - - - -
-
- Invoice no -
-
- - -
-
- Action -
-
- - - - - - -
-
- Invoice no -
-
- - -
-
- Action -
-
- - -