Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Refactor DateFormatter to use parent's font style

dominik-zeglende9682e96f23
diff --git a/saleor/static/dashboard-next/components/DateFormatter/DateFormatter.tsx b/saleor/static/dashboard-next/components/DateFormatter/DateFormatter.tsx
index f1aba57521..dd26e6f57a 100644
--- a/saleor/static/dashboard-next/components/DateFormatter/DateFormatter.tsx
+++ b/saleor/static/dashboard-next/components/DateFormatter/DateFormatter.tsx
@@ -1,36 +1,16 @@
-import { withStyles } from "@material-ui/core/styles";
import Tooltip from "@material-ui/core/Tooltip";
-import Typography, { TypographyProps } from "@material-ui/core/Typography";
import * as React from "react";
interface DateFormatterProps {
date: string;
locale?: string;
- typographyProps?: TypographyProps;
}
-const decorate = withStyles(
- { root: { display: "inline" } },
- {
- name: "DateFormatter"
- }
-);
-const DateFormatter = decorate<DateFormatterProps>(
- ({ classes, date, typographyProps }) =>
- typographyProps ? (
- <Typography
- component="span"
- className={classes.root}
- {...typographyProps}
- >
- <Tooltip title={date}>
- <span>{date}</span>
- </Tooltip>
- </Typography>
- ) : (
- <Tooltip title={date}>
- <span>{date}</span>
- </Tooltip>
- )
+const DateFormatter: React.StatelessComponent<DateFormatterProps> = ({
+ date
+}) => (
+ <Tooltip title={date}>
+ <span>{date}</span>
+ </Tooltip>
);
export default DateFormatter;
diff --git a/saleor/static/dashboard-next/components/Timeline/Timeline.tsx b/saleor/static/dashboard-next/components/Timeline/Timeline.tsx
index f363ecc7dc..4d7fef6be9 100644
--- a/saleor/static/dashboard-next/components/Timeline/Timeline.tsx
+++ b/saleor/static/dashboard-next/components/Timeline/Timeline.tsx
@@ -165,9 +165,9 @@ export const TimelineNode = decorate<TimelineNodeProps>(
<ExpansionPanel className={classes.panel} elevation={0}>
<ExpansionPanelSummary expandIcon={<ExpandMoreIcon />}>
<Typography>{title}</Typography>
- <div className={classes.nodeDate}>
+ <Typography className={classes.nodeDate}>
<DateFormatter date={date} />
- </div>
+ </Typography>
</ExpansionPanelSummary>
<ExpansionPanelDetails>
<Typography>{children}</Typography>
@@ -176,9 +176,9 @@ export const TimelineNode = decorate<TimelineNodeProps>(
) : (
<>
<Typography className={classes.noExpander}>{title}</Typography>
- <div className={classes.noExpanderNodeDate}>
+ <Typography className={classes.noExpanderNodeDate}>
<DateFormatter date={date} />
- </div>
+ </Typography>
</>
)}
</div>
@@ -194,9 +194,9 @@ export const TimelineNote = decorate<TimelineNoteProps>(
<PersonIcon />
</Avatar>
<Typography className={classes.noteUser}>{user.email}</Typography>
- <div className={classes.noteDate}>
+ <Typography className={classes.noteDate}>
<DateFormatter date={date} />
- </div>
+ </Typography>
</CardContent>
<CardContent>
<Typography className={classes.noteContent}>{message}</Typography>
diff --git a/saleor/static/dashboard-next/customers/components/CustomerDetails/CustomerDetails.tsx b/saleor/static/dashboard-next/customers/components/CustomerDetails/CustomerDetails.tsx
index e0d74f9032..2e4f0fd3ff 100644
--- a/saleor/static/dashboard-next/customers/components/CustomerDetails/CustomerDetails.tsx
+++ b/saleor/static/dashboard-next/customers/components/CustomerDetails/CustomerDetails.tsx
@@ -100,10 +100,9 @@ const CustomerDetails = decorate<CustomerDetailsProps>(
>
{i18n.t("Joined")}
</Typography>{" "}
- <DateFormatter
- date={customer.dateJoined}
- typographyProps={{ variant: "caption" }}
- />
+ <Typography variant="caption">
+ <DateFormatter date={customer.dateJoined} />
+ </Typography>
</div>
{customer.note ? (
<Typography>{customer.note}</Typography>
diff --git a/saleor/static/dashboard-next/orders/components/OrderDetailsPage/OrderDetailsPage.tsx b/saleor/static/dashboard-next/orders/components/OrderDetailsPage/OrderDetailsPage.tsx
index 41c2734f8b..d4252fcd2a 100644
--- a/saleor/static/dashboard-next/orders/components/OrderDetailsPage/OrderDetailsPage.tsx
+++ b/saleor/static/dashboard-next/orders/components/OrderDetailsPage/OrderDetailsPage.tsx
@@ -1,4 +1,5 @@
import { withStyles, WithStyles } from "@material-ui/core/styles";
+import Typography from "@material-ui/core/Typography";
import * as React from "react";
import { AddressType, transformAddressToForm } from "../..";
@@ -300,10 +301,9 @@ class OrderDetailsPageComponent extends React.Component<
{order ? (
<div className={classes.orderDate}>
{order && order.created ? (
- <DateFormatter
- date={order.created}
- typographyProps={{ variant: "caption" }}
- />
+ <Typography variant="caption">
+ <DateFormatter date={order.created} />
+ </Typography>
) : (
<Skeleton />
)}
diff --git a/saleor/static/dashboard-next/orders/components/OrderDraftPage/OrderDraftPage.tsx b/saleor/static/dashboard-next/orders/components/OrderDraftPage/OrderDraftPage.tsx
new file mode 100644
index 0000000000..867195f52c
--- /dev/null
+++ b/saleor/static/dashboard-next/orders/components/OrderDraftPage/OrderDraftPage.tsx
@@ -0,0 +1,329 @@
+import DialogContentText from "@material-ui/core/DialogContentText";
+import { withStyles, WithStyles } from "@material-ui/core/styles";
+import Typography from "@material-ui/core/Typography";
+import * as React from "react";
+
+import { transformAddressToForm } from "../..";
+import { UserError } from "../../..";
+import ActionDialog from "../../../components/ActionDialog";
+import { CardMenu } from "../../../components/CardMenu/CardMenu";
+import { Container } from "../../../components/Container";
+import DateFormatter from "../../../components/DateFormatter";
+import Form from "../../../components/Form";
+import PageHeader from "../../../components/PageHeader";
+import SaveButtonBar from "../../../components/SaveButtonBar";
+import Skeleton from "../../../components/Skeleton";
+import { AddressTypeInput } from "../../../customers";
+import i18n from "../../../i18n";
+import { maybe } from "../../../misc";
+import { DraftOrderInput } from "../../../types/globalTypes";
+import { OrderDetails_order } from "../../types/OrderDetails";
+import { UserSearch_customers_edges_node } from "../../types/UserSearch";
+import OrderAddressEditDialog from "../OrderAddressEditDialog";
+import OrderCustomer from "../OrderCustomer";
+import OrderDraftDetails from "../OrderDraftDetails/OrderDraftDetails";
+import { FormData as OrderDraftDetailsProductsFormData } from "../OrderDraftDetailsProducts";
+import OrderHistory, { FormData as HistoryFormData } from "../OrderHistory";
+import OrderProductAddDialog, {
+ FormData as ProductAddFormData
+} from "../OrderProductAddDialog";
+import OrderShippingMethodEditDialog, {
+ FormData as ShippingMethodForm
+} from "../OrderShippingMethodEditDialog";
+
+export interface OrderDraftPageProps {
+ order: OrderDetails_order;
+ shippingMethods: Array<{
+ id: string;
+ name: string;
+ }>;
+ users: UserSearch_customers_edges_node[];
+ usersLoading: boolean;
+ countries: Array<{
+ code: string;
+ label: string;
+ }>;
+ variants: Array<{
+ id: string;
+ name: string;
+ sku: string;
+ stockQuantity: number;
+ }>;
+ variantsLoading: boolean;
+ errors: UserError[];
+ fetchVariants: (value: string) => void;
+ fetchUsers: (query: string) => void;
+ onBack: () => void;
+ onBillingAddressEdit: (data: AddressTypeInput) => void;
+ onCustomerEdit: (data: DraftOrderInput) => void;
+ onDraftFinalize: () => void;
+ onDraftRemove: () => void;
+ onNoteAdd: (data: HistoryFormData) => void;
+ onOrderLineAdd: (data: ProductAddFormData) => void;
+ onOrderLineChange: (
+ id: string,
+ data: OrderDraftDetailsProductsFormData
+ ) => void;
+ onOrderLineRemove: (id: string) => void;
+ onProductClick: (id: string) => void;
+ onShippingAddressEdit: (data: AddressTypeInput) => void;
+ onShippingMethodEdit: (data: ShippingMethodForm) => void;
+}
+interface OrderDraftPageState {
+ openedBillingAddressEditDialog: boolean;
+ openedDraftRemoveDialog: boolean;
+ openedDraftFinalizeDialog: boolean;
+ openedOrderLineAddDialog: boolean;
+ openedShippingAddressEditDialog: boolean;
+ openedShippingMethodEditDialog: boolean;
+}
+
+const decorate = withStyles(theme => ({
+ date: {
+ marginBottom: theme.spacing.unit * 3,
+ marginLeft: theme.spacing.unit * 7
+ },
+ header: {
+ marginBottom: 0
+ },
+ menu: {
+ marginRight: -theme.spacing.unit
+ },
+ root: {
+ display: "grid",
+ gridColumnGap: theme.spacing.unit * 2 + "px",
+ gridTemplateColumns: "9fr 4fr"
+ }
+}));
+class OrderDraftPageComponent extends React.Component<
+ OrderDraftPageProps & WithStyles<"date" | "header" | "menu" | "root">,
+ OrderDraftPageState
+> {
+ state = {
+ openedBillingAddressEditDialog: false,
+ openedDraftFinalizeDialog: false,
+ openedDraftRemoveDialog: false,
+ openedOrderLineAddDialog: false,
+ openedShippingAddressEditDialog: false,
+ openedShippingMethodEditDialog: false
+ };
+
+ toggleDraftRemoveDialog = () =>
+ this.setState(prevState => ({
+ openedDraftRemoveDialog: !prevState.openedDraftRemoveDialog
+ }));
+ toggleDraftFinalizeDialog = () =>
+ this.setState(prevState => ({
+ openedDraftFinalizeDialog: !prevState.openedDraftFinalizeDialog
+ }));
+ toggleOrderLineAddDialog = () =>
+ this.setState(prevState => ({
+ openedOrderLineAddDialog: !prevState.openedOrderLineAddDialog
+ }));
+ toggleShippingAddressEditDialog = () =>
+ this.setState(prevState => ({
+ openedShippingAddressEditDialog: !prevState.openedShippingAddressEditDialog
+ }));
+ toggleBillingAddressEditDialog = () =>
+ this.setState(prevState => ({
+ openedBillingAddressEditDialog: !prevState.openedBillingAddressEditDialog
+ }));
+ toggleShippingMethodEditDialog = () =>
+ this.setState(prevState => ({
+ openedShippingMethodEditDialog: !prevState.openedShippingMethodEditDialog
+ }));
+
+ render() {
+ const {
+ classes,
+ countries,
+ errors,
+ order,
+ shippingMethods,
+ users,
+ usersLoading,
+ variants,
+ variantsLoading,
+ fetchUsers,
+ fetchVariants,
+ onBack,
+ onBillingAddressEdit,
+ onCustomerEdit,
+ onDraftRemove,
+ onDraftFinalize,
+ onNoteAdd,
+ onOrderLineAdd,
+ onOrderLineChange,
+ onShippingAddressEdit,
+ onShippingMethodEdit
+ } = this.props;
+ const {
+ openedBillingAddressEditDialog,
+ openedDraftFinalizeDialog,
+ openedDraftRemoveDialog,
+ openedOrderLineAddDialog,
+ openedShippingAddressEditDialog,
+ openedShippingMethodEditDialog
+ } = this.state;
+ return (
+ <Container width="md">
+ <PageHeader
+ className={classes.header}
+ title={maybe(() => order.number) ? "#" + order.number : undefined}
+ onBack={onBack}
+ >
+ <CardMenu
+ className={classes.menu}
+ menuItems={[
+ {
+ label: i18n.t("Cancel order", { context: "button" }),
+ onSelect: this.toggleDraftRemoveDialog
+ }
+ ]}
+ />
+ </PageHeader>
+ <div className={classes.date}>
+ {order && order.created ? (
+ <Typography variant="caption">
+ <DateFormatter date={order.created} />
+ </Typography>
+ ) : (
+ <Skeleton style={{ width: "10em" }} />
+ )}
+ </div>
+ <div className={classes.root}>
+ <div>
+ <OrderDraftDetails
+ order={order}
+ onOrderLineAdd={this.toggleOrderLineAddDialog}
+ onOrderLineChange={onOrderLineChange}
+ onShippingMethodEdit={this.toggleShippingMethodEditDialog}
+ />
+ <OrderProductAddDialog
+ loading={variantsLoading}
+ open={openedOrderLineAddDialog}
+ variants={variants}
+ fetchVariants={fetchVariants}
+ onClose={this.toggleOrderLineAddDialog}
+ onSubmit={onOrderLineAdd}
+ />
+ <OrderShippingMethodEditDialog
+ open={openedShippingMethodEditDialog}
+ shippingMethod={maybe(() => order.shippingMethod.id, "")}
+ shippingMethods={shippingMethods}
+ onClose={this.toggleShippingMethodEditDialog}
+ onSubmit={onShippingMethodEdit}
+ />
+ <ActionDialog
+ onClose={this.toggleDraftRemoveDialog}
+ onConfirm={onDraftRemove}
+ open={openedDraftRemoveDialog}
+ title={i18n.t("Remove draft order", {
+ context: "modal title"
+ })}
+ variant="delete"
+ >
+ <DialogContentText
+ dangerouslySetInnerHTML={{
+ __html: i18n.t(
+ "Are you sure you want to remove draft <strong>#{{ number }}</strong>",
+ {
+ context: "modal",
+ number: maybe(() => order.number)
+ }
+ )
+ }}
+ />
+ </ActionDialog>
+ <ActionDialog
+ onClose={this.toggleDraftFinalizeDialog}
+ onConfirm={onDraftFinalize}
+ open={openedDraftFinalizeDialog}
+ title={i18n.t("Finalize draft order", {
+ context: "modal title"
+ })}
+ >
+ <DialogContentText
+ dangerouslySetInnerHTML={{
+ __html: i18n.t(
+ "Are you sure you want to finalize draft <strong>#{{ number }}</strong>",
+ {
+ context: "modal",
+ number: maybe(() => order.number)
+ }
+ )
+ }}
+ />
+ </ActionDialog>
+ <OrderHistory
+ history={maybe(() => order.events)}
+ onNoteAdd={onNoteAdd}
+ />
+ </div>
+ <div>
+ <OrderCustomer
+ canEditAddresses={true}
+ canEditCustomer={true}
+ order={order}
+ users={users}
+ loading={usersLoading}
+ fetchUsers={fetchUsers}
+ onBillingAddressEdit={this.toggleBillingAddressEditDialog}
+ onCustomerEdit={onCustomerEdit}
+ onShippingAddressEdit={this.toggleShippingAddressEditDialog}
+ />
+ {order && (
+ <>
+ <Form
+ initial={transformAddressToForm(
+ maybe(() => order.shippingAddress)
+ )}
+ errors={errors}
+ onSubmit={onShippingAddressEdit}
+ >
+ {({ change, data, errors: formErrors, submit }) => (
+ <OrderAddressEditDialog
+ countries={countries}
+ data={data}
+ errors={formErrors}
+ open={openedShippingAddressEditDialog}
+ variant="shipping"
+ onChange={change}
+ onClose={this.toggleShippingAddressEditDialog}
+ onConfirm={submit}
+ />
+ )}
+ </Form>
+ <Form
+ initial={transformAddressToForm(order.billingAddress)}
+ errors={errors}
+ onSubmit={onBillingAddressEdit}
+ >
+ {({ change, data, errors: formErrors, submit }) => (
+ <OrderAddressEditDialog
+ countries={countries}
+ data={data}
+ errors={formErrors}
+ open={openedBillingAddressEditDialog}
+ variant="billing"
+ onChange={change}
+ onClose={this.toggleBillingAddressEditDialog}
+ onConfirm={submit}
+ />
+ )}
+ </Form>
+ </>
+ )}
+ </div>
+ </div>
+ <SaveButtonBar
+ onCancel={onBack}
+ onSave={this.toggleDraftFinalizeDialog}
+ labels={{ save: i18n.t("Finalize", { context: "button" }) }}
+ />
+ </Container>
+ );
+ }
+}
+const OrderDetailsPage = decorate<OrderDraftPageProps>(OrderDraftPageComponent);
+export default OrderDetailsPage;
diff --git a/saleor/static/dashboard-next/pages/components/PageProperties/PageProperties.tsx b/saleor/static/dashboard-next/pages/components/PageProperties/PageProperties.tsx
index 15a3406d1f..d15bc9fbbd 100644
--- a/saleor/static/dashboard-next/pages/components/PageProperties/PageProperties.tsx
+++ b/saleor/static/dashboard-next/pages/components/PageProperties/PageProperties.tsx
@@ -73,8 +73,9 @@ const PageProperties: React.StatelessComponent<PagePropertiesProps> = ({
<FormSpacer />
{created && (
<div>
- <Typography variant="body1">{i18n.t("Created:")} </Typography>
- <DateFormatter date={created} />
+ <Typography variant="body1">
+ {i18n.t("Created:")} <DateFormatter date={created} />
+ </Typography>
</div>
)}
<FormSpacer />
diff --git a/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap b/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap
index 828ce8e632..ca62a947dc 100644
--- a/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap
+++ b/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap
@@ -1203,13 +1203,9 @@ exports[`Storyshots Generics / AddressFormatter when loading 1`] = `
exports[`Storyshots Generics / DateFormatter default 1`] = `
<div>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-04-07T10:44:44"
>
- <span
- title="2018-04-07T10:44:44"
- >
- 2018-04-07T10:44:44
- </span>
+ 2018-04-07T10:44:44
</span>
</div>
`;
@@ -3989,13 +3985,9 @@ exports[`Storyshots Generics / Timeline default 1`] = `
class="Component-noExpanderNodeDate-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-05-07T16:58:02+00:00"
>
- <span
- title="2018-05-07T16:58:02+00:00"
- >
- 2018-05-07T16:58:02+00:00
- </span>
+ 2018-05-07T16:58:02+00:00
</span>
</div>
</div>
@@ -4014,13 +4006,9 @@ exports[`Storyshots Generics / Timeline default 1`] = `
class="Component-noExpanderNodeDate-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-05-07T16:48:02+00:00"
>
- <span
- title="2018-05-07T16:48:02+00:00"
- >
- 2018-05-07T16:48:02+00:00
- </span>
+ 2018-05-07T16:48:02+00:00
</span>
</div>
</div>
@@ -4039,13 +4027,9 @@ exports[`Storyshots Generics / Timeline default 1`] = `
class="Component-noExpanderNodeDate-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-05-06T16:58:02+00:00"
>
- <span
- title="2018-05-06T16:58:02+00:00"
- >
- 2018-05-06T16:58:02+00:00
- </span>
+ 2018-05-06T16:58:02+00:00
</span>
</div>
</div>
@@ -4085,13 +4069,9 @@ exports[`Storyshots Generics / Timeline with expansion panels 1`] = `
class="Component-nodeDate-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-05-07T16:58:02+00:00"
>
- <span
- title="2018-05-07T16:58:02+00:00"
- >
- 2018-05-07T16:58:02+00:00
- </span>
+ 2018-05-07T16:58:02+00:00
</span>
</div>
</div>
@@ -4174,13 +4154,9 @@ exports[`Storyshots Generics / Timeline with expansion panels 1`] = `
class="Component-nodeDate-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-05-07T16:48:02+00:00"
>
- <span
- title="2018-05-07T16:48:02+00:00"
- >
- 2018-05-07T16:48:02+00:00
- </span>
+ 2018-05-07T16:48:02+00:00
</span>
</div>
</div>
@@ -4263,13 +4239,9 @@ exports[`Storyshots Generics / Timeline with expansion panels 1`] = `
class="Component-nodeDate-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-05-06T16:58:02+00:00"
>
- <span
- title="2018-05-06T16:58:02+00:00"
- >
- 2018-05-06T16:58:02+00:00
- </span>
+ 2018-05-06T16:58:02+00:00
</span>
</div>
</div>
@@ -4361,13 +4333,9 @@ exports[`Storyshots Generics / Timeline with order notes 1`] = `
class="Component-nodeDate-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-05-07T16:58:02+00:00"
>
- <span
- title="2018-05-07T16:58:02+00:00"
- >
- 2018-05-07T16:58:02+00:00
- </span>
+ 2018-05-07T16:58:02+00:00
</span>
</div>
</div>
@@ -4455,13 +4423,9 @@ exports[`Storyshots Generics / Timeline with order notes 1`] = `
class="Component-noteDate-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-05-07T16:58:02+00:00"
>
- <span
- title="2018-05-07T16:58:02+00:00"
- >
- 2018-05-07T16:58:02+00:00
- </span>
+ 2018-05-07T16:58:02+00:00
</span>
</div>
</div>
@@ -4508,13 +4472,9 @@ exports[`Storyshots Generics / Timeline with order notes 1`] = `
class="Component-noteDate-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-05-07T16:58:02+00:00"
>
- <span
- title="2018-05-07T16:58:02+00:00"
- >
- 2018-05-07T16:58:02+00:00
- </span>
+ 2018-05-07T16:58:02+00:00
</span>
</div>
</div>
@@ -4556,13 +4516,9 @@ exports[`Storyshots Generics / Timeline with order notes 1`] = `
class="Component-nodeDate-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-05-06T16:58:02+00:00"
>
- <span
- title="2018-05-06T16:58:02+00:00"
- >
- 2018-05-06T16:58:02+00:00
- </span>
+ 2018-05-06T16:58:02+00:00
</span>
</div>
</div>
@@ -5191,13 +5147,9 @@ exports[`Storyshots Orders / OrderHistory default 1`] = `
class="Component-nodeDate-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-09-13T16:39:54.172431+00:00"
>
- <span
- title="2018-09-13T16:39:54.172431+00:00"
- >
- 2018-09-13T16:39:54.172431+00:00
- </span>
+ 2018-09-13T16:39:54.172431+00:00
</span>
</div>
</div>
@@ -5282,13 +5234,9 @@ exports[`Storyshots Orders / OrderHistory default 1`] = `
class="Component-nodeDate-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-09-13T16:22:46.997106+00:00"
>
- <span
- title="2018-09-13T16:22:46.997106+00:00"
- >
- 2018-09-13T16:22:46.997106+00:00
- </span>
+ 2018-09-13T16:22:46.997106+00:00
</span>
</div>
</div>
@@ -15322,19 +15270,15 @@ exports[`Storyshots Views / Customers / Customer details default 1`] = `
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
>
- 11
+ 20
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-09-11T09:37:30.376876+00:00"
>
- <span
- title="2018-04-07T11:18:19+00:00"
- >
- 2018-04-07T11:18:19+00:00
- </span>
+ 2018-09-11T09:37:30.376876+00:00
</span>
</td>
<td
@@ -15343,13 +15287,13 @@ exports[`Storyshots Views / Customers / Customer details default 1`] = `
<div
class="Component-root-id undefined Component-errorDot-id"
>
- fulfilled
+ Cancelled
</div>
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- $19.20
+ $305.17
</td>
</tr>
<tr
@@ -15358,19 +15302,15 @@ exports[`Storyshots Views / Customers / Customer details default 1`] = `
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
>
- 10
+ 19
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-09-11T09:37:30.124154+00:00"
>
- <span
- title="2018-04-07T11:11:19+00:00"
- >
- 2018-04-07T11:11:19+00:00
- </span>
+ 2018-09-11T09:37:30.124154+00:00
</span>
</td>
<td
@@ -15379,13 +15319,13 @@ exports[`Storyshots Views / Customers / Customer details default 1`] = `
<div
class="Component-root-id undefined Component-errorDot-id"
>
- unfulfilled
+ Cancelled
</div>
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- $28.90
+ $1,215.89
</td>
</tr>
<tr
@@ -15394,19 +15334,15 @@ exports[`Storyshots Views / Customers / Customer details default 1`] = `
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
>
- 9
+ 18
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-09-11T09:37:30.019749+00:00"
>
- <span
- title="2018-04-07T10:44:44+00:00"
- >
- 2018-04-07T10:44:44+00:00
- </span>
+ 2018-09-11T09:37:30.019749+00:00
</span>
</td>
<td
@@ -15415,13 +15351,13 @@ exports[`Storyshots Views / Customers / Customer details default 1`] = `
<div
class="Component-root-id undefined Component-errorDot-id"
>
- fulfilled
+ Draft
</div>
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- $289.00
+ $321.71
</td>
</tr>
<tr
@@ -15430,19 +15366,15 @@ exports[`Storyshots Views / Customers / Customer details default 1`] = `
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
>
- 9
+ 17
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-09-11T09:37:29.864391+00:00"
>
- <span
- title="2018-04-07T10:33:19+00:00"
- >
- 2018-04-07T10:33:19+00:00
- </span>
+ 2018-09-11T09:37:29.864391+00:00
</span>
</td>
<td
@@ -15451,13 +15383,13 @@ exports[`Storyshots Views / Customers / Customer details default 1`] = `
<div
class="Component-root-id undefined Component-errorDot-id"
>
- fulfilled
+ Cancelled
</div>
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- $100.05
+ $271.95
</td>
</tr>
<tr
@@ -15466,19 +15398,15 @@ exports[`Storyshots Views / Customers / Customer details default 1`] = `
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
>
- 9
+ 16
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-09-11T09:37:29.610339+00:00"
>
- <span
- title="2018-04-07T07:39:19+00:00"
- >
- 2018-04-07T07:39:19+00:00
- </span>
+ 2018-09-11T09:37:29.610339+00:00
</span>
</td>
<td
@@ -15487,13 +15415,13 @@ exports[`Storyshots Views / Customers / Customer details default 1`] = `
<div
class="Component-root-id undefined Component-errorDot-id"
>
- fulfilled
+ Cancelled
</div>
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- $14.87
+ $335.84
</td>
</tr>
<tr
@@ -15502,19 +15430,15 @@ exports[`Storyshots Views / Customers / Customer details default 1`] = `
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
>
- 8
+ 15
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-09-11T09:37:29.336209+00:00"
>
- <span
- title="2018-04-06T19:18:19+00:00"
- >
- 2018-04-06T19:18:19+00:00
- </span>
+ 2018-09-11T09:37:29.336209+00:00
</span>
</td>
<td
@@ -15523,369 +15447,472 @@ exports[`Storyshots Views / Customers / Customer details default 1`] = `
<div
class="Component-root-id undefined Component-errorDot-id"
>
- unfulfilled
+ Cancelled
</div>
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- $14.87
+ $1,042.15
</td>
</tr>
- </tbody>
- </table>
- </div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Default billing address
- </p>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <address>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <tr
+ class="MuiTableRow-root-id"
>
- Alexander Simonis
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ 14
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ title="2018-09-11T09:37:29.103651+00:00"
+ >
+ 2018-09-11T09:37:29.103651+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Cancelled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $213.69
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- 83772 Savanah Summit
- <br />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ 13
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ title="2018-09-11T09:37:28.921956+00:00"
+ >
+ 2018-09-11T09:37:28.921956+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Cancelled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $367.03
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- 47639-5237 Thompsontown, Rhode Island
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ 12
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ title="2018-09-11T09:37:28.750718+00:00"
+ >
+ 2018-09-11T09:37:28.750718+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Cancelled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $298.76
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- Buckinghamshire, Swaziland
- </span>
- </address>
- </div>
- <hr
- class="Component-hr-id"
- />
- <div
- class="Component-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- Default shipping address
- </p>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <address>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ 11
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ title="2018-09-11T09:37:28.598246+00:00"
+ >
+ 2018-09-11T09:37:28.598246+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Unfulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $663.69
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
>
- Alexander Simonis
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- 780 Jaime Prairie
- <br />
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- 21665 West Bret, North Dakota
- </span>
- <span
- class="MuiTypography-root-id MuiTypography-body1-id"
- >
- Sudan
- </span>
- </address>
- </div>
- </div>
- </div>
- </div>
- </div>
-</div>
-`;
-
-exports[`Storyshots Views / Customers / Customer details when loading 1`] = `
-<div>
- <div
- class="Component-md-id"
- >
- <div
- class="Component-root-id"
- >
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- <span
- class="Skeleton-skeleton-id"
- style="width:10em"
- >
- ‌
- </span>
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <div
- class="Component-root-id"
- >
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
- >
- <div
- class="Component-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- >
- User details
- </p>
- <div
- class="Component-toolbar-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-text-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Edit customer
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-text-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id MuiButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Remove customer
- </span>
- </button>
- </div>
- </div>
- <div
- class="Component-children-id"
- >
- <span
- class="Skeleton-skeleton-id"
- style="width:10rem"
- >
- ‌
- </span>
- </div>
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
- padding="default"
- >
- <thead
- class="MuiTableHead-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
- >
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- #
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- >
- Created
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
>
- Status
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
- scope="col"
+ 10
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
- Price
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
- >
+ <span
+ title="2018-09-11T09:37:28.409836+00:00"
+ >
+ 2018-09-11T09:37:28.409836+00:00
+ </span>
+ </td>
<td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="4"
+ class="MuiTableCell-root-id MuiTableCell-body-id"
>
<div
- class="MuiToolbar-root-id MuiToolbar-regular-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ class="Component-root-id undefined Component-errorDot-id"
>
- <div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- </button>
- </div>
+ Cancelled
</div>
</td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $280.41
+ </td>
</tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
<tr
class="MuiTableRow-root-id"
>
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
>
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
+ 9
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
>
<span
- class="Skeleton-skeleton-id"
+ title="2018-09-11T09:37:28.185874+00:00"
>
- ‌
+ 2018-09-11T09:37:28.185874+00:00
</span>
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id"
>
- <span
- class="Skeleton-skeleton-id"
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
>
- ‌
- </span>
+ Partially fulfilled
+ </div>
</td>
<td
class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
>
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
+ $234.93
</td>
</tr>
- </tbody>
- </table>
- </div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ 8
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ title="2018-09-11T09:37:27.953588+00:00"
+ >
+ 2018-09-11T09:37:27.953588+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Partially fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $485.19
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ 7
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ title="2018-09-11T09:37:27.828033+00:00"
+ >
+ 2018-09-11T09:37:27.828033+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Partially fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $223.54
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ 6
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ title="2018-09-11T09:37:27.636741+00:00"
+ >
+ 2018-09-11T09:37:27.636741+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id undefined Component-successDot-id"
+ >
+ Fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $237.55
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ 5
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ title="2018-09-11T09:37:27.420590+00:00"
+ >
+ 2018-09-11T09:37:27.420590+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Partially fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $453.55
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ 4
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ title="2018-09-11T09:37:27.230990+00:00"
+ >
+ 2018-09-11T09:37:27.230990+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Partially fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $812.67
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ 3
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ title="2018-09-11T09:37:26.972507+00:00"
+ >
+ 2018-09-11T09:37:26.972507+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Partially fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $481.41
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ 2
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ title="2018-09-11T09:37:26.751359+00:00"
+ >
+ 2018-09-11T09:37:26.751359+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Partially fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $569.19
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ 1
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ title="2018-09-11T09:37:26.314968+00:00"
+ >
+ 2018-09-11T09:37:26.314968+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Partially fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ $557.00
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
class="Component-root-id"
>
<p
@@ -15906,11 +15933,29 @@ exports[`Storyshots Views / Customers / Customer details when loading 1`] = `
<div
class="MuiCardContent-root-id"
>
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
+ <address>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Alexander Simonis
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 83772 Savanah Summit
+ <br />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 47639-5237 Thompsontown, Rhode Island
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Buckinghamshire, Swaziland
+ </span>
+ </address>
</div>
<hr
class="Component-hr-id"
@@ -15936,11 +15981,29 @@ exports[`Storyshots Views / Customers / Customer details when loading 1`] = `
<div
class="MuiCardContent-root-id"
>
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
+ <address>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Alexander Simonis
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 780 Jaime Prairie
+ <br />
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ 21665 West Bret, North Dakota
+ </span>
+ <span
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Sudan
+ </span>
+ </address>
</div>
</div>
</div>
@@ -15949,7 +16012,7 @@ exports[`Storyshots Views / Customers / Customer details when loading 1`] = `
</div>
`;
-exports[`Storyshots Views / Customers / Customer list default 1`] = `
+exports[`Storyshots Views / Customers / Customer details when loading 1`] = `
<div>
<div
class="Component-md-id"
@@ -15960,133 +16023,442 @@ exports[`Storyshots Views / Customers / Customer list default 1`] = `
<h2
class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
>
- Customers
+ <span
+ class="Skeleton-skeleton-id"
+ style="width:10em"
+ >
+ ‌
+ </span>
</h2>
<div
class="Component-action-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Add customer
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
+ />
</div>
<div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ class="Component-root-id"
>
- <table
- class="MuiTable-root-id"
- padding="default"
- >
- <thead
- class="MuiTableHead-root-id"
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id Component-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ <div
+ class="Component-root-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
>
- Name
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ User details
+ </p>
+ <div
+ class="Component-toolbar-id"
>
- E-mail
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-text-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Edit customer
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiButton-root-id MuiButton-text-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id MuiButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Remove customer
+ </span>
+ </button>
+ </div>
+ </div>
+ <div
+ class="Component-children-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ style="width:10rem"
>
- Localization
- </th>
- </tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
+ ‌
+ </span>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ <table
+ class="MuiTable-root-id"
+ padding="default"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="3"
+ <thead
+ class="MuiTableHead-root-id"
>
- <div
- class="MuiToolbar-root-id MuiToolbar-regular-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
>
- <div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
>
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
+ #
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Created
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Status
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id Component-textRight-id"
+ scope="col"
+ >
+ Price
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="4"
+ >
+ <div
+ class="MuiToolbar-root-id MuiToolbar-regular-id MuiToolbar-gutters-id TablePagination-toolbar-id"
>
- <span
- class="MuiIconButton-label-id"
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
>
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
>
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-link-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-textRight-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Default billing address
+ </p>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="Component-root-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Default shipping address
+ </p>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Views / Customers / Customer list default 1`] = `
+<div>
+ <div
+ class="Component-md-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Customers
+ </h2>
+ <div
+ class="Component-action-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Add customer
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <table
+ class="MuiTable-root-id"
+ padding="default"
+ >
+ <thead
+ class="MuiTableHead-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
+ >
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Name
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ E-mail
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ >
+ Localization
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="3"
+ >
+ <div
+ class="MuiToolbar-root-id MuiToolbar-regular-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ >
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
/>
</button>
</div>
@@ -17837,13 +18209,9 @@ exports[`Storyshots Views / Orders / Order details as a draft 1`] = `
class="Component-nodeDate-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-09-13T16:39:54.172431+00:00"
>
- <span
- title="2018-09-13T16:39:54.172431+00:00"
- >
- 2018-09-13T16:39:54.172431+00:00
- </span>
+ 2018-09-13T16:39:54.172431+00:00
</span>
</div>
</div>
@@ -17928,13 +18296,9 @@ exports[`Storyshots Views / Orders / Order details as a draft 1`] = `
class="Component-nodeDate-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-09-13T16:22:46.997106+00:00"
>
- <span
- title="2018-09-13T16:22:46.997106+00:00"
- >
- 2018-09-13T16:22:46.997106+00:00
- </span>
+ 2018-09-13T16:22:46.997106+00:00
</span>
</div>
</div>
@@ -19018,13 +19382,9 @@ exports[`Storyshots Views / Orders / Order details as a unpaid order 1`] = `
class="Component-nodeDate-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-09-13T16:39:54.172431+00:00"
>
- <span
- title="2018-09-13T16:39:54.172431+00:00"
- >
- 2018-09-13T16:39:54.172431+00:00
- </span>
+ 2018-09-13T16:39:54.172431+00:00
</span>
</div>
</div>
@@ -19109,13 +19469,9 @@ exports[`Storyshots Views / Orders / Order details as a unpaid order 1`] = `
class="Component-nodeDate-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-09-13T16:22:46.997106+00:00"
>
- <span
- title="2018-09-13T16:22:46.997106+00:00"
- >
- 2018-09-13T16:22:46.997106+00:00
- </span>
+ 2018-09-13T16:22:46.997106+00:00
</span>
</div>
</div>
@@ -20156,13 +20512,9 @@ exports[`Storyshots Views / Orders / Order details when loaded data 1`] = `
class="Component-nodeDate-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-09-13T16:39:54.172431+00:00"
>
- <span
- title="2018-09-13T16:39:54.172431+00:00"
- >
- 2018-09-13T16:39:54.172431+00:00
- </span>
+ 2018-09-13T16:39:54.172431+00:00
</span>
</div>
</div>
@@ -20247,13 +20599,9 @@ exports[`Storyshots Views / Orders / Order details when loaded data 1`] = `
class="Component-nodeDate-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-09-13T16:22:46.997106+00:00"
>
- <span
- title="2018-09-13T16:22:46.997106+00:00"
- >
- 2018-09-13T16:22:46.997106+00:00
- </span>
+ 2018-09-13T16:22:46.997106+00:00
</span>
</div>
</div>
@@ -20776,7 +21124,239 @@ exports[`Storyshots Views / Orders / Order details when loading data 1`] = `
>
<p
class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
- />
+ />
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Packing slip
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <table
+ class="MuiTable-root-id"
+ padding="default"
+ >
+ <thead
+ class="MuiTableHead-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
+ >
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id"
+ scope="col"
+ />
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id OrderFulfillment-textLeft-id"
+ scope="col"
+ >
+ Product
+ </th>
+ </tr>
+ </thead>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id"
+ >
+ <div
+ class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"
+ />
+ </g>
+ </svg>
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div
+ class="MuiCardActions-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-flat-id MuiCardActions-action-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Edit tracking number
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-flat-id MuiCardActions-action-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Cancel shipment
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="OrderHistory-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Order history
+ </h2>
+ <div
+ class="Component-action-id"
+ />
+ </div>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
+ </div>
+ <div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Customer
+ </p>
+ <div
+ class="Component-toolbar-id"
+ />
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
+ <hr
+ class="OrderCustomer-hr-id"
+ />
+ <div
+ class="Component-root-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Shipping Address
+ </p>
+ <div
+ class="Component-toolbar-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Edit
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="Component-children-id"
+ />
+ <hr
+ class="Component-hr-id"
+ />
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
+ <hr
+ class="OrderCustomer-hr-id"
+ />
+ <div
+ class="Component-root-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ >
+ Billing Address
+ </p>
<div
class="Component-toolbar-id"
>
@@ -20788,7 +21368,7 @@ exports[`Storyshots Views / Orders / Order details when loading data 1`] = `
<span
class="MuiButton-label-id"
>
- Packing slip
+ Edit
</span>
<span
class="MuiTouchRipple-root-id"
@@ -20802,718 +21382,1106 @@ exports[`Storyshots Views / Orders / Order details when loading data 1`] = `
<hr
class="Component-hr-id"
/>
- <table
- class="MuiTable-root-id"
- padding="default"
+ <div
+ class="MuiCardContent-root-id"
+ >
+ <span
+ class="Skeleton-skeleton-id"
+ >
+ ‌
+ </span>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
+`;
+
+exports[`Storyshots Views / Orders / Order list default 1`] = `
+<div>
+ <div
+ class="Component-md-id"
+ >
+ <div
+ class="Component-root-id"
+ >
+ <h2
+ class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ >
+ Orders
+ </h2>
+ <div
+ class="Component-action-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiButton-label-id"
+ >
+ Create order
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <g>
+ <path
+ d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
+ />
+ </g>
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ <div
+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
+ >
+ <table
+ class="MuiTable-root-id"
+ padding="default"
+ >
+ <thead
+ class="MuiTableHead-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-head-id"
+ >
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id"
+ scope="col"
+ >
+ No. of Order
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id"
+ scope="col"
+ >
+ Date
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id"
+ scope="col"
+ >
+ Customer
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id"
+ scope="col"
+ >
+ Payment
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id"
+ scope="col"
+ >
+ Fulfillment status
+ </th>
+ <th
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ scope="col"
+ >
+ Total
+ </th>
+ </tr>
+ </thead>
+ <tfoot
+ class="MuiTableFooter-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-footer-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
+ colspan="6"
+ >
+ <div
+ class="MuiToolbar-root-id MuiToolbar-regular-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ >
+ <div
+ class="TablePagination-spacer-id"
+ />
+ <div
+ class="TablePaginationActions-root-id"
+ >
+ <button
+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
+ disabled=""
+ tabindex="-1"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
+ />
+ </svg>
+ </span>
+ </button>
+ <button
+ class="MuiButtonBase-root-id MuiIconButton-root-id"
+ tabindex="0"
+ type="button"
+ >
+ <span
+ class="MuiIconButton-label-id"
+ >
+ <svg
+ aria-hidden="true"
+ class="MuiSvgIcon-root-id"
+ focusable="false"
+ viewBox="0 0 24 24"
+ >
+ <path
+ d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
+ />
+ </svg>
+ </span>
+ <span
+ class="MuiTouchRipple-root-id"
+ />
+ </button>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </tfoot>
+ <tbody
+ class="MuiTableBody-root-id"
+ >
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #20
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <span
+ title="2018-09-11T09:37:30.376876+00:00"
+ >
+ 2018-09-11T09:37:30.376876+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Laura Stone 1 2
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-successDot-id"
+ >
+ Confirmed
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Cancelled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $305.17
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #19
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <span
+ title="2018-09-11T09:37:30.124154+00:00"
+ >
+ 2018-09-11T09:37:30.124154+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Elizabeth Vaughn
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-successDot-id"
+ >
+ Confirmed
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Cancelled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $1,215.89
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
>
- <thead
- class="MuiTableHead-root-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- <tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ #18
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <span
+ title="2018-09-11T09:37:30.019749+00:00"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
- />
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderFulfillment-textLeft-id"
- scope="col"
- >
- Product
- </th>
- </tr>
- </thead>
- <tbody
- class="MuiTableBody-root-id"
+ 2018-09-11T09:37:30.019749+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- <tr
- class="MuiTableRow-root-id"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id Component-root-id"
- >
- <div
- class="MuiAvatar-root-id MuiAvatar-colorDefault-id Component-avatar-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <g>
- <path
- d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"
- />
- </g>
- </svg>
- </div>
- </td>
- <td
- class="MuiTableCell-root-id MuiTableCell-body-id"
- >
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </td>
- </tr>
- </tbody>
- </table>
- <div
- class="MuiCardActions-root-id"
+ Preauthorized
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Draft
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $321.71
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-flat-id MuiCardActions-action-id"
- tabindex="0"
- type="button"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #17
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<span
- class="MuiButton-label-id"
+ title="2018-09-11T09:37:29.864391+00:00"
>
- Edit tracking number
+ 2018-09-11T09:37:29.864391+00:00
</span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-flat-id MuiCardActions-action-id"
- tabindex="0"
- type="button"
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- <span
- class="MuiButton-label-id"
+ Aaron Randall
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
>
- Cancel shipment
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <div
- class="OrderHistory-root-id"
- >
- <div
- class="Component-root-id"
- >
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
+ Preauthorized
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- Order history
- </h2>
- <div
- class="Component-action-id"
- />
- </div>
- <span
- class="Skeleton-skeleton-id"
- >
- ‌
- </span>
- </div>
- </div>
- <div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <div
- class="Component-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Cancelled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
>
- Customer
- </p>
- <div
- class="Component-toolbar-id"
- />
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
+ $271.95
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
>
- <span
- class="Skeleton-skeleton-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- ‌
- </span>
- <span
- class="Skeleton-skeleton-id"
+ #16
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- ‌
- </span>
- </div>
- <hr
- class="OrderCustomer-hr-id"
- />
- <div
- class="Component-root-id"
- >
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ <span
+ title="2018-09-11T09:37:29.610339+00:00"
+ >
+ 2018-09-11T09:37:29.610339+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- Shipping Address
- </p>
- <div
- class="Component-toolbar-id"
+ Laura Jensen
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
>
- <span
- class="MuiButton-label-id"
- >
- Edit
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ Preauthorized
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- ‌
- </span>
- </div>
- <hr
- class="OrderCustomer-hr-id"
- />
- <div
- class="Component-root-id"
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Cancelled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $335.84
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
>
- <p
- class="MuiTypography-root-id MuiTypography-body1-id Component-title-id"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #15
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- Billing Address
- </p>
- <div
- class="Component-toolbar-id"
+ <span
+ title="2018-09-11T09:37:29.336209+00:00"
+ >
+ 2018-09-11T09:37:29.336209+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-text-id MuiButton-textSecondary-id MuiButton-flat-id MuiButton-flatSecondary-id"
- tabindex="0"
- type="button"
+ Jenna Villa
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
>
- <span
- class="MuiButton-label-id"
- >
- Edit
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <div
- class="Component-children-id"
- />
- <hr
- class="Component-hr-id"
- />
- <div
- class="MuiCardContent-root-id"
- >
- <span
- class="Skeleton-skeleton-id"
+ Rejected
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- ‌
- </span>
- </div>
- </div>
- </div>
- </div>
- </div>
-</div>
-`;
-
-exports[`Storyshots Views / Orders / Order list default 1`] = `
-<div>
- <div
- class="Component-md-id"
- >
- <div
- class="Component-root-id"
- >
- <h2
- class="MuiTypography-root-id MuiTypography-title-id PageHeader-title-id"
- >
- Orders
- </h2>
- <div
- class="Component-action-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id MuiButton-containedSecondary-id MuiButton-raised-id MuiButton-raisedSecondary-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiButton-label-id"
- >
- Add order
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Cancelled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
>
- <g>
- <path
- d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
- />
- </g>
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
- </div>
- <div
- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"
- >
- <table
- class="MuiTable-root-id"
- padding="default"
- >
- <thead
- class="MuiTableHead-root-id"
- >
+ $1,042.15
+ </td>
+ </tr>
<tr
- class="MuiTableRow-root-id MuiTableRow-head-id"
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- #
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ #14
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- Fulfillment
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <span
+ title="2018-09-11T09:37:29.103651+00:00"
+ >
+ 2018-09-11T09:37:29.103651+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- Client
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ Wesley Davis
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- Created at
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id"
- scope="col"
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Waiting
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- Payment status
- </th>
- <th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderList-textRight-id"
- scope="col"
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Cancelled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
>
- Price
- </th>
+ $213.69
+ </td>
</tr>
- </thead>
- <tfoot
- class="MuiTableFooter-root-id"
- >
<tr
- class="MuiTableRow-root-id MuiTableRow-footer-id"
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
>
<td
- class="MuiTableCell-root-id MuiTableCell-footer-id TablePagination-root-id"
- colspan="6"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #13
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <span
+ title="2018-09-11T09:37:28.921956+00:00"
+ >
+ 2018-09-11T09:37:28.921956+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Anthony Gonzalez
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<div
- class="MuiToolbar-root-id MuiToolbar-regular-id MuiToolbar-gutters-id TablePagination-toolbar-id"
+ class="Component-root-id undefined Component-neutralDot-id"
>
- <div
- class="TablePagination-spacer-id"
- />
- <div
- class="TablePaginationActions-root-id"
- >
- <button
- class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id"
- disabled=""
- tabindex="-1"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
- />
- </svg>
- </span>
- </button>
- <button
- class="MuiButtonBase-root-id MuiIconButton-root-id"
- tabindex="0"
- type="button"
- >
- <span
- class="MuiIconButton-label-id"
- >
- <svg
- aria-hidden="true"
- class="MuiSvgIcon-root-id"
- focusable="false"
- viewBox="0 0 24 24"
- >
- <path
- d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
- />
- </svg>
- </span>
- <span
- class="MuiTouchRipple-root-id"
- />
- </button>
- </div>
+ Waiting
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
+ >
+ Cancelled
</div>
</td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $367.03
+ </td>
</tr>
- </tfoot>
- <tbody
- class="MuiTableBody-root-id"
- >
<tr
- class="MuiTableRow-root-id"
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-link-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #12
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <span
+ title="2018-09-11T09:37:28.750718+00:00"
+ >
+ 2018-09-11T09:37:28.750718+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- 11
+ Denise Freeman
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Preauthorized
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<div
class="Component-root-id undefined Component-errorDot-id"
>
- fulfilled
+ Cancelled
</div>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
>
+ $298.76
</td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #11
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-09-11T09:37:28.598246+00:00"
>
- <span
- title="2018-04-07T11:18:19+00:00"
- >
- 2018-04-07T11:18:19+00:00
- </span>
+ 2018-09-11T09:37:28.598246+00:00
</span>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ James Ball
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<div
- class="Component-root-id undefined"
+ class="Component-root-id undefined Component-successDot-id"
+ >
+ Confirmed
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-errorDot-id"
>
- confirmed
+ Unfulfilled
</div>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-textRight-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
>
- $19.20
+ $663.69
</td>
</tr>
<tr
- class="MuiTableRow-root-id"
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-link-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- 10
+ #10
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <span
+ title="2018-09-11T09:37:28.409836+00:00"
+ >
+ 2018-09-11T09:37:28.409836+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Michael Martinez
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Preauthorized
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<div
class="Component-root-id undefined Component-errorDot-id"
>
- unfulfilled
+ Cancelled
</div>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
>
+ $280.41
</td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #9
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-09-11T09:37:28.185874+00:00"
>
- <span
- title="2018-04-07T11:11:19+00:00"
- >
- 2018-04-07T11:11:19+00:00
- </span>
+ 2018-09-11T09:37:28.185874+00:00
</span>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Melissa Simon
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<div
- class="Component-root-id undefined"
+ class="Component-root-id undefined Component-neutralDot-id"
>
- confirmed
+ Preauthorized
</div>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-textRight-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- $28.90
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Partially fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $234.93
</td>
</tr>
<tr
- class="MuiTableRow-root-id"
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-link-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- 9
+ #8
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <span
+ title="2018-09-11T09:37:27.953588+00:00"
+ >
+ 2018-09-11T09:37:27.953588+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Justin Mccoy
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<div
- class="Component-root-id undefined Component-errorDot-id"
+ class="Component-root-id undefined Component-neutralDot-id"
>
- fulfilled
+ Waiting
</div>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Partially fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
>
+ $485.19
</td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #7
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-09-11T09:37:27.828033+00:00"
>
- <span
- title="2018-04-07T10:44:44+00:00"
- >
- 2018-04-07T10:44:44+00:00
- </span>
+ 2018-09-11T09:37:27.828033+00:00
</span>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Anthony Gonzalez
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-successDot-id"
+ >
+ Confirmed
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<div
- class="Component-root-id undefined"
+ class="Component-root-id undefined Component-neutralDot-id"
>
- rejected
+ Partially fulfilled
</div>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-textRight-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
>
- $289.00
+ $223.54
</td>
</tr>
<tr
- class="MuiTableRow-root-id"
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-link-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- 9
+ #6
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <span
+ title="2018-09-11T09:37:27.636741+00:00"
+ >
+ 2018-09-11T09:37:27.636741+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Bradley Ford
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<div
- class="Component-root-id undefined Component-errorDot-id"
+ class="Component-root-id undefined Component-neutralDot-id"
>
- fulfilled
+ Waiting
</div>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-successDot-id"
+ >
+ Fulfilled
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $237.55
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
+ #5
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-09-11T09:37:27.420590+00:00"
>
- <span
- title="2018-04-07T10:33:19+00:00"
- >
- 2018-04-07T10:33:19+00:00
- </span>
+ 2018-09-11T09:37:27.420590+00:00
</span>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ David Lawson
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Waiting
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<div
- class="Component-root-id undefined"
+ class="Component-root-id undefined Component-neutralDot-id"
>
- unknown
+ Partially fulfilled
</div>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-textRight-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
>
- $100.05
+ $453.55
</td>
</tr>
<tr
- class="MuiTableRow-root-id"
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-link-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- 9
+ #4
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <span
+ title="2018-09-11T09:37:27.230990+00:00"
+ >
+ 2018-09-11T09:37:27.230990+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Lauren Watson
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<div
- class="Component-root-id undefined Component-errorDot-id"
+ class="Component-root-id undefined Component-neutralDot-id"
>
- fulfilled
+ Waiting
</div>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Partially fulfilled
+ </div>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $812.67
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #3
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-09-11T09:37:26.972507+00:00"
>
- <span
- title="2018-04-07T07:39:19+00:00"
- >
- 2018-04-07T07:39:19+00:00
- </span>
+ 2018-09-11T09:37:26.972507+00:00
</span>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Mark Lee
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Waiting
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<div
- class="Component-root-id undefined"
+ class="Component-root-id undefined Component-neutralDot-id"
>
- waiting
+ Partially fulfilled
</div>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-textRight-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
>
- $14.87
+ $481.41
</td>
</tr>
<tr
- class="MuiTableRow-root-id"
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-link-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
- 8
+ #2
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <span
+ title="2018-09-11T09:37:26.751359+00:00"
+ >
+ 2018-09-11T09:37:26.751359+00:00
+ </span>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Kara Murphy
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<div
- class="Component-root-id undefined Component-errorDot-id"
+ class="Component-root-id undefined Component-successDot-id"
>
- unfulfilled
+ Confirmed
</div>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Partially fulfilled
+ </div>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
+ >
+ $569.19
+ </td>
+ </tr>
+ <tr
+ class="MuiTableRow-root-id MuiTableRow-hover-id OrderList-link-id"
+ >
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ #1
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<span
- class="MuiTypography-root-id MuiTypography-body1-id DateFormatter-root-id"
+ title="2018-09-11T09:37:26.314968+00:00"
>
- <span
- title="2018-04-06T19:18:19+00:00"
- >
- 2018-04-06T19:18:19+00:00
- </span>
+ 2018-09-11T09:37:26.314968+00:00
</span>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ Curtis Bailey
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
+ >
+ <div
+ class="Component-root-id undefined Component-neutralDot-id"
+ >
+ Waiting
+ </div>
+ </td>
+ <td
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<div
- class="Component-root-id undefined"
+ class="Component-root-id undefined Component-neutralDot-id"
>
- rejected
+ Partially fulfilled
</div>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-textRight-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
>
- $14.87
+ $557.00
</td>
</tr>
</tbody>
@@ -21548,7 +22516,7 @@ exports[`Storyshots Views / Orders / Order list loading 1`] = `
<span
class="MuiButton-label-id"
>
- Add order
+ Create order
<svg
aria-hidden="true"
class="MuiSvgIcon-root-id"
@@ -21579,40 +22547,40 @@ exports[`Storyshots Views / Orders / Order list loading 1`] = `
class="MuiTableRow-root-id MuiTableRow-head-id"
>
<th
- class="MuiTableCell-root-id MuiTableCell-head-id"
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id"
scope="col"
>
- #
+ No. of Order
</th>
<th
- class="MuiTableCell-root-id MuiTableCell-head-id"
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id"
scope="col"
>
- Fulfillment
+ Date
</th>
<th
- class="MuiTableCell-root-id MuiTableCell-head-id"
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id"
scope="col"
>
- Client
+ Customer
</th>
<th
- class="MuiTableCell-root-id MuiTableCell-head-id"
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id"
scope="col"
>
- Created at
+ Payment
</th>
<th
- class="MuiTableCell-root-id MuiTableCell-head-id"
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id"
scope="col"
>
- Payment status
+ Fulfillment status
</th>
<th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderList-textRight-id"
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id OrderList-textRight-id"
scope="col"
>
- Price
+ Total
</th>
</tr>
</thead>
@@ -21689,7 +22657,7 @@ exports[`Storyshots Views / Orders / Order list loading 1`] = `
class="MuiTableRow-root-id"
>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-link-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<span
class="Skeleton-skeleton-id"
@@ -21698,7 +22666,7 @@ exports[`Storyshots Views / Orders / Order list loading 1`] = `
</span>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<span
class="Skeleton-skeleton-id"
@@ -21707,7 +22675,7 @@ exports[`Storyshots Views / Orders / Order list loading 1`] = `
</span>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<span
class="Skeleton-skeleton-id"
@@ -21716,7 +22684,7 @@ exports[`Storyshots Views / Orders / Order list loading 1`] = `
</span>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<span
class="Skeleton-skeleton-id"
@@ -21725,7 +22693,7 @@ exports[`Storyshots Views / Orders / Order list loading 1`] = `
</span>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id"
>
<span
class="Skeleton-skeleton-id"
@@ -21734,7 +22702,7 @@ exports[`Storyshots Views / Orders / Order list loading 1`] = `
</span>
</td>
<td
- class="MuiTableCell-root-id MuiTableCell-body-id OrderList-textRight-id"
+ class="MuiTableCell-root-id MuiTableCell-body-id MuiTableCell-paddingDense-id OrderList-textRight-id"
>
<span
class="Skeleton-skeleton-id"
@@ -21774,7 +22742,7 @@ exports[`Storyshots Views / Orders / Order list when no data 1`] = `
<span
class="MuiButton-label-id"
>
- Add order
+ Create order
<svg
aria-hidden="true"
class="MuiSvgIcon-root-id"
@@ -21808,40 +22776,40 @@ exports[`Storyshots Views / Orders / Order list when no data 1`] = `
class="MuiTableRow-root-id MuiTableRow-head-id"
>
<th
- class="MuiTableCell-root-id MuiTableCell-head-id"
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id"
scope="col"
>
- #
+ No. of Order
</th>
<th
- class="MuiTableCell-root-id MuiTableCell-head-id"
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id"
scope="col"
>
- Fulfillment
+ Date
</th>
<th
- class="MuiTableCell-root-id MuiTableCell-head-id"
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id"
scope="col"
>
- Client
+ Customer
</th>
<th
- class="MuiTableCell-root-id MuiTableCell-head-id"
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id"
scope="col"
>
- Created at
+ Payment
</th>
<th
- class="MuiTableCell-root-id MuiTableCell-head-id"
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id"
scope="col"
>
- Payment status
+ Fulfillment status
</th>
<th
- class="MuiTableCell-root-id MuiTableCell-head-id OrderList-textRight-id"
+ class="MuiTableCell-root-id MuiTableCell-head-id MuiTableCell-paddingDense-id OrderList-textRight-id"
scope="col"
>
- Price
+ Total
</th>
</tr>
</thead>
diff --git a/saleor/static/dashboard-next/vouchers/components/VoucherList/VoucherList.tsx b/saleor/static/dashboard-next/vouchers/components/VoucherList/VoucherList.tsx
index ae01d569f0..74e796b90b 100644
--- a/saleor/static/dashboard-next/vouchers/components/VoucherList/VoucherList.tsx
+++ b/saleor/static/dashboard-next/vouchers/components/VoucherList/VoucherList.tsx
@@ -114,10 +114,7 @@ const VoucherList = decorate<VoucherListProps>(
<TableCell>
{voucher ? (
voucher.startDate !== null ? (
- <DateFormatter
- typographyProps={{ className: classes.tableCellFont }}
- date={voucher.startDate}
- />
+ <DateFormatter date={voucher.startDate} />
) : (
"-"
)
@@ -128,10 +125,7 @@ const VoucherList = decorate<VoucherListProps>(
<TableCell>
{voucher ? (
voucher.endDate !== null ? (
- <DateFormatter
- typographyProps={{ className: classes.tableCellFont }}
- date={voucher.endDate}
- />
+ <DateFormatter date={voucher.endDate} />
) : (
"-"
)