Implement generate invoice mutation
This commit is contained in:
parent
cd761d0990
commit
25b0082455
28 changed files with 283 additions and 675 deletions
|
@ -104,3 +104,10 @@ export const webhookErrorFragment = gql`
|
||||||
field
|
field
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
export const invoiceErrorFragment = gql`
|
||||||
|
fragment InvoiceErrorFragment on InvoiceError {
|
||||||
|
code
|
||||||
|
field
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
|
@ -69,6 +69,7 @@ export const fragmentInvoice = gql`
|
||||||
number
|
number
|
||||||
createdAt
|
createdAt
|
||||||
url
|
url
|
||||||
|
status
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, JobStatusEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL fragment: OrderDetailsFragment
|
// GraphQL fragment: OrderDetailsFragment
|
||||||
|
@ -252,6 +252,7 @@ export interface OrderDetailsFragment_invoices {
|
||||||
number: string | null;
|
number: string | null;
|
||||||
createdAt: any;
|
createdAt: any;
|
||||||
url: string | null;
|
url: string | null;
|
||||||
|
status: JobStatusEnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface OrderDetailsFragment {
|
export interface OrderDetailsFragment {
|
||||||
|
|
|
@ -65,6 +65,8 @@ export interface OrderDetailsPageProps extends UserPermissionProps {
|
||||||
onNoteAdd(data: HistoryFormData);
|
onNoteAdd(data: HistoryFormData);
|
||||||
onProfileView();
|
onProfileView();
|
||||||
onInvoiceClick(invoice: InvoiceFragment);
|
onInvoiceClick(invoice: InvoiceFragment);
|
||||||
|
onInvoiceGenerate();
|
||||||
|
onInvoiceSend(invoice: InvoiceFragment);
|
||||||
}
|
}
|
||||||
|
|
||||||
const OrderDetailsPage: React.FC<OrderDetailsPageProps> = (props) => {
|
const OrderDetailsPage: React.FC<OrderDetailsPageProps> = (props) => {
|
||||||
|
@ -85,6 +87,8 @@ const OrderDetailsPage: React.FC<OrderDetailsPageProps> = (props) => {
|
||||||
onShippingAddressEdit,
|
onShippingAddressEdit,
|
||||||
onProfileView,
|
onProfileView,
|
||||||
onInvoiceClick,
|
onInvoiceClick,
|
||||||
|
onInvoiceGenerate,
|
||||||
|
onInvoiceSend,
|
||||||
} = props;
|
} = props;
|
||||||
const classes = useStyles(props);
|
const classes = useStyles(props);
|
||||||
|
|
||||||
|
@ -186,6 +190,8 @@ const OrderDetailsPage: React.FC<OrderDetailsPageProps> = (props) => {
|
||||||
<OrderInvoiceList
|
<OrderInvoiceList
|
||||||
invoices={order?.invoices}
|
invoices={order?.invoices}
|
||||||
onInvoiceClick={onInvoiceClick}
|
onInvoiceClick={onInvoiceClick}
|
||||||
|
onInvoiceGenerate={onInvoiceGenerate}
|
||||||
|
onInvoiceSend={onInvoiceSend}
|
||||||
/>
|
/>
|
||||||
<CardSpacer />
|
<CardSpacer />
|
||||||
<OrderCustomerNote note={maybe(() => order.customerNote)} />
|
<OrderCustomerNote note={maybe(() => order.customerNote)} />
|
||||||
|
|
|
@ -37,9 +37,9 @@ const useStyles = makeStyles(
|
||||||
|
|
||||||
interface OrderInvoiceListProps {
|
interface OrderInvoiceListProps {
|
||||||
invoices: InvoiceFragment[];
|
invoices: InvoiceFragment[];
|
||||||
onInvoiceGenerate?: () => void;
|
onInvoiceGenerate: () => void;
|
||||||
onInvoiceClick?: (invoice: InvoiceFragment) => void;
|
onInvoiceClick: (invoice: InvoiceFragment) => void;
|
||||||
onInvoiceSend?: (invoice: InvoiceFragment) => void;
|
onInvoiceSend: (invoice: InvoiceFragment) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
const OrderInvoiceList: React.FC<OrderInvoiceListProps> = (props) => {
|
const OrderInvoiceList: React.FC<OrderInvoiceListProps> = (props) => {
|
||||||
|
@ -49,6 +49,10 @@ const OrderInvoiceList: React.FC<OrderInvoiceListProps> = (props) => {
|
||||||
|
|
||||||
const intl = useIntl();
|
const intl = useIntl();
|
||||||
|
|
||||||
|
const generatedInvoices = invoices?.filter(
|
||||||
|
(invoice) => invoice.status === "SUCCESS"
|
||||||
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Card>
|
<Card>
|
||||||
<CardTitle
|
<CardTitle
|
||||||
|
@ -67,10 +71,12 @@ const OrderInvoiceList: React.FC<OrderInvoiceListProps> = (props) => {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<CardContent className={invoices?.length && classes.cardContentTable}>
|
<CardContent
|
||||||
{!invoices ? (
|
className={generatedInvoices?.length && classes.cardContentTable}
|
||||||
|
>
|
||||||
|
{!generatedInvoices ? (
|
||||||
<Skeleton />
|
<Skeleton />
|
||||||
) : !invoices?.length ? (
|
) : !generatedInvoices?.length ? (
|
||||||
<Typography color="textSecondary">
|
<Typography color="textSecondary">
|
||||||
<FormattedMessage defaultMessage="No invoices to be shown" />
|
<FormattedMessage defaultMessage="No invoices to be shown" />
|
||||||
</Typography>
|
</Typography>
|
||||||
|
@ -95,7 +101,7 @@ const OrderInvoiceList: React.FC<OrderInvoiceListProps> = (props) => {
|
||||||
</TableRow>
|
</TableRow>
|
||||||
</TableHead>
|
</TableHead>
|
||||||
<TableBody>
|
<TableBody>
|
||||||
{invoices?.map((invoice) => (
|
{generatedInvoices.map((invoice) => (
|
||||||
<TableRow key={invoice.id}>
|
<TableRow key={invoice.id}>
|
||||||
<TableCell
|
<TableCell
|
||||||
className={
|
className={
|
||||||
|
|
|
@ -3,6 +3,7 @@ import React from "react";
|
||||||
import { getMutationProviderData } from "../../misc";
|
import { getMutationProviderData } from "../../misc";
|
||||||
import { PartialMutationProviderOutput } from "../../types";
|
import { PartialMutationProviderOutput } from "../../types";
|
||||||
import {
|
import {
|
||||||
|
TypedInvoiceRequestMutation,
|
||||||
TypedOrderAddNoteMutation,
|
TypedOrderAddNoteMutation,
|
||||||
TypedOrderCancelMutation,
|
TypedOrderCancelMutation,
|
||||||
TypedOrderCaptureMutation,
|
TypedOrderCaptureMutation,
|
||||||
|
@ -20,6 +21,10 @@ import {
|
||||||
TypedOrderUpdateMutation,
|
TypedOrderUpdateMutation,
|
||||||
TypedOrderVoidMutation
|
TypedOrderVoidMutation
|
||||||
} from "../mutations";
|
} from "../mutations";
|
||||||
|
import {
|
||||||
|
InvoiceRequest,
|
||||||
|
InvoiceRequestVariables
|
||||||
|
} from "../types/InvoiceRequest";
|
||||||
import { OrderAddNote, OrderAddNoteVariables } from "../types/OrderAddNote";
|
import { OrderAddNote, OrderAddNoteVariables } from "../types/OrderAddNote";
|
||||||
import { OrderCancel, OrderCancelVariables } from "../types/OrderCancel";
|
import { OrderCancel, OrderCancelVariables } from "../types/OrderCancel";
|
||||||
import { OrderCapture, OrderCaptureVariables } from "../types/OrderCapture";
|
import { OrderCapture, OrderCaptureVariables } from "../types/OrderCapture";
|
||||||
|
@ -128,6 +133,10 @@ interface OrderOperationsProps {
|
||||||
OrderLineUpdate,
|
OrderLineUpdate,
|
||||||
OrderLineUpdateVariables
|
OrderLineUpdateVariables
|
||||||
>;
|
>;
|
||||||
|
orderInvoiceRequest: PartialMutationProviderOutput<
|
||||||
|
InvoiceRequest,
|
||||||
|
InvoiceRequestVariables
|
||||||
|
>;
|
||||||
}) => React.ReactNode;
|
}) => React.ReactNode;
|
||||||
onOrderFulfillmentCancel: (data: OrderFulfillmentCancel) => void;
|
onOrderFulfillmentCancel: (data: OrderFulfillmentCancel) => void;
|
||||||
onOrderFulfillmentUpdate: (data: OrderFulfillmentUpdateTracking) => void;
|
onOrderFulfillmentUpdate: (data: OrderFulfillmentUpdateTracking) => void;
|
||||||
|
@ -145,6 +154,7 @@ interface OrderOperationsProps {
|
||||||
onOrderLineDelete: (data: OrderLineDelete) => void;
|
onOrderLineDelete: (data: OrderLineDelete) => void;
|
||||||
onOrderLinesAdd: (data: OrderLinesAdd) => void;
|
onOrderLinesAdd: (data: OrderLinesAdd) => void;
|
||||||
onOrderLineUpdate: (data: OrderLineUpdate) => void;
|
onOrderLineUpdate: (data: OrderLineUpdate) => void;
|
||||||
|
onInvoiceRequest: (data: InvoiceRequest) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
const OrderOperations: React.FC<OrderOperationsProps> = ({
|
const OrderOperations: React.FC<OrderOperationsProps> = ({
|
||||||
|
@ -164,7 +174,8 @@ const OrderOperations: React.FC<OrderOperationsProps> = ({
|
||||||
onDraftFinalize,
|
onDraftFinalize,
|
||||||
onOrderFulfillmentCancel,
|
onOrderFulfillmentCancel,
|
||||||
onOrderFulfillmentUpdate,
|
onOrderFulfillmentUpdate,
|
||||||
onOrderMarkAsPaid
|
onOrderMarkAsPaid,
|
||||||
|
onInvoiceRequest
|
||||||
}) => (
|
}) => (
|
||||||
<TypedOrderVoidMutation onCompleted={onOrderVoid}>
|
<TypedOrderVoidMutation onCompleted={onOrderVoid}>
|
||||||
{(...orderVoid) => (
|
{(...orderVoid) => (
|
||||||
|
@ -233,6 +244,14 @@ const OrderOperations: React.FC<OrderOperationsProps> = ({
|
||||||
>
|
>
|
||||||
{(
|
{(
|
||||||
...markAsPaid
|
...markAsPaid
|
||||||
|
) => (
|
||||||
|
<TypedInvoiceRequestMutation
|
||||||
|
onCompleted={
|
||||||
|
onInvoiceRequest
|
||||||
|
}
|
||||||
|
>
|
||||||
|
{(
|
||||||
|
...invoiceRequest
|
||||||
) =>
|
) =>
|
||||||
children({
|
children({
|
||||||
orderAddNote: getMutationProviderData(
|
orderAddNote: getMutationProviderData(
|
||||||
|
@ -256,6 +275,9 @@ const OrderOperations: React.FC<OrderOperationsProps> = ({
|
||||||
orderFulfillmentUpdateTracking: getMutationProviderData(
|
orderFulfillmentUpdateTracking: getMutationProviderData(
|
||||||
...updateTrackingNumber
|
...updateTrackingNumber
|
||||||
),
|
),
|
||||||
|
orderInvoiceRequest: getMutationProviderData(
|
||||||
|
...invoiceRequest
|
||||||
|
),
|
||||||
orderLineDelete: getMutationProviderData(
|
orderLineDelete: getMutationProviderData(
|
||||||
...deleteOrderLine
|
...deleteOrderLine
|
||||||
),
|
),
|
||||||
|
@ -285,6 +307,8 @@ const OrderOperations: React.FC<OrderOperationsProps> = ({
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
</TypedInvoiceRequestMutation>
|
||||||
|
)}
|
||||||
</TypedOrderMarkAsPaidMutation>
|
</TypedOrderMarkAsPaidMutation>
|
||||||
)}
|
)}
|
||||||
</TypedOrderDraftCancelMutation>
|
</TypedOrderDraftCancelMutation>
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
import { fragmentAddress } from "@saleor/fragments/address";
|
import { fragmentAddress } from "@saleor/fragments/address";
|
||||||
import { orderErrorFragment } from "@saleor/fragments/errors";
|
import {
|
||||||
|
invoiceErrorFragment,
|
||||||
|
orderErrorFragment
|
||||||
|
} from "@saleor/fragments/errors";
|
||||||
import {
|
import {
|
||||||
fragmentOrderDetails,
|
fragmentOrderDetails,
|
||||||
fragmentOrderEvent
|
fragmentOrderEvent
|
||||||
|
@ -9,6 +12,10 @@ import gql from "graphql-tag";
|
||||||
|
|
||||||
import { TypedMutation } from "../mutations";
|
import { TypedMutation } from "../mutations";
|
||||||
import { FulfillOrder, FulfillOrderVariables } from "./types/FulfillOrder";
|
import { FulfillOrder, FulfillOrderVariables } from "./types/FulfillOrder";
|
||||||
|
import {
|
||||||
|
InvoiceRequest,
|
||||||
|
InvoiceRequestVariables
|
||||||
|
} from "./types/InvoiceRequest";
|
||||||
import { OrderAddNote, OrderAddNoteVariables } from "./types/OrderAddNote";
|
import { OrderAddNote, OrderAddNoteVariables } from "./types/OrderAddNote";
|
||||||
import { OrderCancel, OrderCancelVariables } from "./types/OrderCancel";
|
import { OrderCancel, OrderCancelVariables } from "./types/OrderCancel";
|
||||||
import { OrderCapture, OrderCaptureVariables } from "./types/OrderCapture";
|
import { OrderCapture, OrderCaptureVariables } from "./types/OrderCapture";
|
||||||
|
@ -448,3 +455,22 @@ export const useOrderFulfill = makeMutation<
|
||||||
FulfillOrder,
|
FulfillOrder,
|
||||||
FulfillOrderVariables
|
FulfillOrderVariables
|
||||||
>(fulfillOrder);
|
>(fulfillOrder);
|
||||||
|
|
||||||
|
const invoiceRequestMutation = gql`
|
||||||
|
${invoiceErrorFragment}
|
||||||
|
${fragmentInvoice}
|
||||||
|
mutation InvoiceRequest($orderId: ID!) {
|
||||||
|
requestInvoice(orderId: $orderId) {
|
||||||
|
errors: invoiceErrors {
|
||||||
|
...InvoiceErrorFragment
|
||||||
|
}
|
||||||
|
invoice {
|
||||||
|
...InvoiceFragment
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
export const TypedInvoiceRequestMutation = TypedMutation<
|
||||||
|
InvoiceRequest,
|
||||||
|
InvoiceRequestVariables
|
||||||
|
>(invoiceRequestMutation);
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { OrderFulfillInput, OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
import { OrderFulfillInput, OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, JobStatusEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: FulfillOrder
|
// GraphQL mutation operation: FulfillOrder
|
||||||
|
@ -260,6 +260,7 @@ export interface FulfillOrder_orderFulfill_order_invoices {
|
||||||
number: string | null;
|
number: string | null;
|
||||||
createdAt: any;
|
createdAt: any;
|
||||||
url: string | null;
|
url: string | null;
|
||||||
|
status: JobStatusEnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FulfillOrder_orderFulfill_order {
|
export interface FulfillOrder_orderFulfill_order {
|
||||||
|
|
15
src/orders/types/InvoiceErrorFragment.ts
Normal file
15
src/orders/types/InvoiceErrorFragment.ts
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
/* tslint:disable */
|
||||||
|
/* eslint-disable */
|
||||||
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
|
import { InvoiceErrorCode } from "./../../types/globalTypes";
|
||||||
|
|
||||||
|
// ====================================================
|
||||||
|
// GraphQL fragment: InvoiceErrorFragment
|
||||||
|
// ====================================================
|
||||||
|
|
||||||
|
export interface InvoiceErrorFragment {
|
||||||
|
__typename: "InvoiceError";
|
||||||
|
code: InvoiceErrorCode;
|
||||||
|
field: string | null;
|
||||||
|
}
|
|
@ -2,6 +2,8 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
|
import { JobStatusEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL fragment: InvoiceFragment
|
// GraphQL fragment: InvoiceFragment
|
||||||
// ====================================================
|
// ====================================================
|
||||||
|
@ -12,4 +14,5 @@ export interface InvoiceFragment {
|
||||||
number: string | null;
|
number: string | null;
|
||||||
createdAt: any;
|
createdAt: any;
|
||||||
url: string | null;
|
url: string | null;
|
||||||
|
status: JobStatusEnum;
|
||||||
}
|
}
|
||||||
|
|
38
src/orders/types/InvoiceRequest.ts
Normal file
38
src/orders/types/InvoiceRequest.ts
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
/* tslint:disable */
|
||||||
|
/* eslint-disable */
|
||||||
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
|
import { InvoiceErrorCode, JobStatusEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
|
// ====================================================
|
||||||
|
// GraphQL mutation operation: InvoiceRequest
|
||||||
|
// ====================================================
|
||||||
|
|
||||||
|
export interface InvoiceRequest_requestInvoice_errors {
|
||||||
|
__typename: "InvoiceError";
|
||||||
|
code: InvoiceErrorCode;
|
||||||
|
field: string | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface InvoiceRequest_requestInvoice_invoice {
|
||||||
|
__typename: "Invoice";
|
||||||
|
id: string;
|
||||||
|
number: string | null;
|
||||||
|
createdAt: any;
|
||||||
|
url: string | null;
|
||||||
|
status: JobStatusEnum;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface InvoiceRequest_requestInvoice {
|
||||||
|
__typename: "RequestInvoice";
|
||||||
|
errors: InvoiceRequest_requestInvoice_errors[];
|
||||||
|
invoice: InvoiceRequest_requestInvoice_invoice | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface InvoiceRequest {
|
||||||
|
requestInvoice: InvoiceRequest_requestInvoice | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface InvoiceRequestVariables {
|
||||||
|
orderId: string;
|
||||||
|
}
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, JobStatusEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: OrderCancel
|
// GraphQL mutation operation: OrderCancel
|
||||||
|
@ -258,6 +258,7 @@ export interface OrderCancel_orderCancel_order_invoices {
|
||||||
number: string | null;
|
number: string | null;
|
||||||
createdAt: any;
|
createdAt: any;
|
||||||
url: string | null;
|
url: string | null;
|
||||||
|
status: JobStatusEnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface OrderCancel_orderCancel_order {
|
export interface OrderCancel_orderCancel_order {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, JobStatusEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: OrderCapture
|
// GraphQL mutation operation: OrderCapture
|
||||||
|
@ -258,6 +258,7 @@ export interface OrderCapture_orderCapture_order_invoices {
|
||||||
number: string | null;
|
number: string | null;
|
||||||
createdAt: any;
|
createdAt: any;
|
||||||
url: string | null;
|
url: string | null;
|
||||||
|
status: JobStatusEnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface OrderCapture_orderCapture_order {
|
export interface OrderCapture_orderCapture_order {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, WeightUnitsEnum } from "./../../types/globalTypes";
|
import { OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, JobStatusEnum, WeightUnitsEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL query operation: OrderDetails
|
// GraphQL query operation: OrderDetails
|
||||||
|
@ -252,6 +252,7 @@ export interface OrderDetails_order_invoices {
|
||||||
number: string | null;
|
number: string | null;
|
||||||
createdAt: any;
|
createdAt: any;
|
||||||
url: string | null;
|
url: string | null;
|
||||||
|
status: JobStatusEnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface OrderDetails_order {
|
export interface OrderDetails_order {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, JobStatusEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: OrderDraftCancel
|
// GraphQL mutation operation: OrderDraftCancel
|
||||||
|
@ -258,6 +258,7 @@ export interface OrderDraftCancel_draftOrderDelete_order_invoices {
|
||||||
number: string | null;
|
number: string | null;
|
||||||
createdAt: any;
|
createdAt: any;
|
||||||
url: string | null;
|
url: string | null;
|
||||||
|
status: JobStatusEnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface OrderDraftCancel_draftOrderDelete_order {
|
export interface OrderDraftCancel_draftOrderDelete_order {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, JobStatusEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: OrderDraftFinalize
|
// GraphQL mutation operation: OrderDraftFinalize
|
||||||
|
@ -258,6 +258,7 @@ export interface OrderDraftFinalize_draftOrderComplete_order_invoices {
|
||||||
number: string | null;
|
number: string | null;
|
||||||
createdAt: any;
|
createdAt: any;
|
||||||
url: string | null;
|
url: string | null;
|
||||||
|
status: JobStatusEnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface OrderDraftFinalize_draftOrderComplete_order {
|
export interface OrderDraftFinalize_draftOrderComplete_order {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { DraftOrderInput, OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
import { DraftOrderInput, OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, JobStatusEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: OrderDraftUpdate
|
// GraphQL mutation operation: OrderDraftUpdate
|
||||||
|
@ -258,6 +258,7 @@ export interface OrderDraftUpdate_draftOrderUpdate_order_invoices {
|
||||||
number: string | null;
|
number: string | null;
|
||||||
createdAt: any;
|
createdAt: any;
|
||||||
url: string | null;
|
url: string | null;
|
||||||
|
status: JobStatusEnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface OrderDraftUpdate_draftOrderUpdate_order {
|
export interface OrderDraftUpdate_draftOrderUpdate_order {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { FulfillmentCancelInput, OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
import { FulfillmentCancelInput, OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, JobStatusEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: OrderFulfillmentCancel
|
// GraphQL mutation operation: OrderFulfillmentCancel
|
||||||
|
@ -258,6 +258,7 @@ export interface OrderFulfillmentCancel_orderFulfillmentCancel_order_invoices {
|
||||||
number: string | null;
|
number: string | null;
|
||||||
createdAt: any;
|
createdAt: any;
|
||||||
url: string | null;
|
url: string | null;
|
||||||
|
status: JobStatusEnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface OrderFulfillmentCancel_orderFulfillmentCancel_order {
|
export interface OrderFulfillmentCancel_orderFulfillmentCancel_order {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { FulfillmentUpdateTrackingInput, OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
import { FulfillmentUpdateTrackingInput, OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, JobStatusEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: OrderFulfillmentUpdateTracking
|
// GraphQL mutation operation: OrderFulfillmentUpdateTracking
|
||||||
|
@ -258,6 +258,7 @@ export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_o
|
||||||
number: string | null;
|
number: string | null;
|
||||||
createdAt: any;
|
createdAt: any;
|
||||||
url: string | null;
|
url: string | null;
|
||||||
|
status: JobStatusEnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order {
|
export interface OrderFulfillmentUpdateTracking_orderFulfillmentUpdateTracking_order {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, JobStatusEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: OrderLineDelete
|
// GraphQL mutation operation: OrderLineDelete
|
||||||
|
@ -258,6 +258,7 @@ export interface OrderLineDelete_draftOrderLineDelete_order_invoices {
|
||||||
number: string | null;
|
number: string | null;
|
||||||
createdAt: any;
|
createdAt: any;
|
||||||
url: string | null;
|
url: string | null;
|
||||||
|
status: JobStatusEnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface OrderLineDelete_draftOrderLineDelete_order {
|
export interface OrderLineDelete_draftOrderLineDelete_order {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { OrderLineInput, OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
import { OrderLineInput, OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, JobStatusEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: OrderLineUpdate
|
// GraphQL mutation operation: OrderLineUpdate
|
||||||
|
@ -258,6 +258,7 @@ export interface OrderLineUpdate_draftOrderLineUpdate_order_invoices {
|
||||||
number: string | null;
|
number: string | null;
|
||||||
createdAt: any;
|
createdAt: any;
|
||||||
url: string | null;
|
url: string | null;
|
||||||
|
status: JobStatusEnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface OrderLineUpdate_draftOrderLineUpdate_order {
|
export interface OrderLineUpdate_draftOrderLineUpdate_order {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { OrderLineCreateInput, OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
import { OrderLineCreateInput, OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, JobStatusEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: OrderLinesAdd
|
// GraphQL mutation operation: OrderLinesAdd
|
||||||
|
@ -258,6 +258,7 @@ export interface OrderLinesAdd_draftOrderLinesCreate_order_invoices {
|
||||||
number: string | null;
|
number: string | null;
|
||||||
createdAt: any;
|
createdAt: any;
|
||||||
url: string | null;
|
url: string | null;
|
||||||
|
status: JobStatusEnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface OrderLinesAdd_draftOrderLinesCreate_order {
|
export interface OrderLinesAdd_draftOrderLinesCreate_order {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, JobStatusEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: OrderMarkAsPaid
|
// GraphQL mutation operation: OrderMarkAsPaid
|
||||||
|
@ -258,6 +258,7 @@ export interface OrderMarkAsPaid_orderMarkAsPaid_order_invoices {
|
||||||
number: string | null;
|
number: string | null;
|
||||||
createdAt: any;
|
createdAt: any;
|
||||||
url: string | null;
|
url: string | null;
|
||||||
|
status: JobStatusEnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface OrderMarkAsPaid_orderMarkAsPaid_order {
|
export interface OrderMarkAsPaid_orderMarkAsPaid_order {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, JobStatusEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: OrderRefund
|
// GraphQL mutation operation: OrderRefund
|
||||||
|
@ -258,6 +258,7 @@ export interface OrderRefund_orderRefund_order_invoices {
|
||||||
number: string | null;
|
number: string | null;
|
||||||
createdAt: any;
|
createdAt: any;
|
||||||
url: string | null;
|
url: string | null;
|
||||||
|
status: JobStatusEnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface OrderRefund_orderRefund_order {
|
export interface OrderRefund_orderRefund_order {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This file was automatically generated and should not be edited.
|
// This file was automatically generated and should not be edited.
|
||||||
|
|
||||||
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction } from "./../../types/globalTypes";
|
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, JobStatusEnum } from "./../../types/globalTypes";
|
||||||
|
|
||||||
// ====================================================
|
// ====================================================
|
||||||
// GraphQL mutation operation: OrderVoid
|
// GraphQL mutation operation: OrderVoid
|
||||||
|
@ -258,6 +258,7 @@ export interface OrderVoid_orderVoid_order_invoices {
|
||||||
number: string | null;
|
number: string | null;
|
||||||
createdAt: any;
|
createdAt: any;
|
||||||
url: string | null;
|
url: string | null;
|
||||||
|
status: JobStatusEnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface OrderVoid_orderVoid_order {
|
export interface OrderVoid_orderVoid_order {
|
||||||
|
|
|
@ -148,6 +148,7 @@ export const OrderDetails: React.FC<OrderDetailsProps> = ({ id, params }) => {
|
||||||
onDraftFinalize={orderMessages.handleDraftFinalize}
|
onDraftFinalize={orderMessages.handleDraftFinalize}
|
||||||
onDraftCancel={orderMessages.handleDraftCancel}
|
onDraftCancel={orderMessages.handleDraftCancel}
|
||||||
onOrderMarkAsPaid={orderMessages.handleOrderMarkAsPaid}
|
onOrderMarkAsPaid={orderMessages.handleOrderMarkAsPaid}
|
||||||
|
onInvoiceRequest={() => null}
|
||||||
>
|
>
|
||||||
{({
|
{({
|
||||||
orderAddNote,
|
orderAddNote,
|
||||||
|
@ -166,6 +167,7 @@ export const OrderDetails: React.FC<OrderDetailsProps> = ({ id, params }) => {
|
||||||
orderDraftCancel,
|
orderDraftCancel,
|
||||||
orderDraftFinalize,
|
orderDraftFinalize,
|
||||||
orderPaymentMarkAsPaid,
|
orderPaymentMarkAsPaid,
|
||||||
|
orderInvoiceRequest,
|
||||||
}) => (
|
}) => (
|
||||||
<>
|
<>
|
||||||
{order?.status !== OrderStatus.DRAFT ? (
|
{order?.status !== OrderStatus.DRAFT ? (
|
||||||
|
@ -233,6 +235,12 @@ export const OrderDetails: React.FC<OrderDetailsProps> = ({ id, params }) => {
|
||||||
onInvoiceClick={(invoice) =>
|
onInvoiceClick={(invoice) =>
|
||||||
window.open(invoice.url, "_blank")
|
window.open(invoice.url, "_blank")
|
||||||
}
|
}
|
||||||
|
onGenerateInvoice={() =>
|
||||||
|
orderInvoiceRequest.mutate({
|
||||||
|
orderId: id,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
onSendInvoice={() => null}
|
||||||
/>
|
/>
|
||||||
<OrderCannotCancelOrderDialog
|
<OrderCannotCancelOrderDialog
|
||||||
onClose={closeModal}
|
onClose={closeModal}
|
||||||
|
|
|
@ -67063,55 +67063,12 @@ exports[`Storyshots Views / Orders / Order details cancelled 1`] = `
|
||||||
class="CardTitle-hr-id"
|
class="CardTitle-hr-id"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
class="MuiCardContent-root-id OrderInvoiceList-cardContentTable-id"
|
class="MuiCardContent-root-id"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ResponsiveTable-root-id"
|
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||||
>
|
>
|
||||||
<table
|
No invoices to be shown
|
||||||
class="MuiTable-root-id"
|
|
||||||
>
|
|
||||||
<thead
|
|
||||||
class="MuiTableHead-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id MuiTableRow-head-id"
|
|
||||||
>
|
|
||||||
<th
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-head-id TableCellHeader-root-id OrderInvoiceList-colNumber-id"
|
|
||||||
scope="col"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-labelContainer-id"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-label-id"
|
|
||||||
>
|
|
||||||
Invoice no
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody
|
|
||||||
class="MuiTableBody-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id"
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id OrderInvoiceList-colNumberClickable-id"
|
|
||||||
>
|
|
||||||
Invoice 1
|
|
||||||
<div
|
|
||||||
class="MuiTypography-root-id MuiTypography-caption-id"
|
|
||||||
>
|
|
||||||
created Jun 22, 2020
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -68199,55 +68156,12 @@ exports[`Storyshots Views / Orders / Order details default 1`] = `
|
||||||
class="CardTitle-hr-id"
|
class="CardTitle-hr-id"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
class="MuiCardContent-root-id OrderInvoiceList-cardContentTable-id"
|
class="MuiCardContent-root-id"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ResponsiveTable-root-id"
|
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||||
>
|
>
|
||||||
<table
|
No invoices to be shown
|
||||||
class="MuiTable-root-id"
|
|
||||||
>
|
|
||||||
<thead
|
|
||||||
class="MuiTableHead-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id MuiTableRow-head-id"
|
|
||||||
>
|
|
||||||
<th
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-head-id TableCellHeader-root-id OrderInvoiceList-colNumber-id"
|
|
||||||
scope="col"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-labelContainer-id"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-label-id"
|
|
||||||
>
|
|
||||||
Invoice no
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody
|
|
||||||
class="MuiTableBody-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id"
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id OrderInvoiceList-colNumberClickable-id"
|
|
||||||
>
|
|
||||||
Invoice 1
|
|
||||||
<div
|
|
||||||
class="MuiTypography-root-id MuiTypography-caption-id"
|
|
||||||
>
|
|
||||||
created Jun 22, 2020
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -69335,55 +69249,12 @@ exports[`Storyshots Views / Orders / Order details fulfilled 1`] = `
|
||||||
class="CardTitle-hr-id"
|
class="CardTitle-hr-id"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
class="MuiCardContent-root-id OrderInvoiceList-cardContentTable-id"
|
class="MuiCardContent-root-id"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ResponsiveTable-root-id"
|
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||||
>
|
>
|
||||||
<table
|
No invoices to be shown
|
||||||
class="MuiTable-root-id"
|
|
||||||
>
|
|
||||||
<thead
|
|
||||||
class="MuiTableHead-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id MuiTableRow-head-id"
|
|
||||||
>
|
|
||||||
<th
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-head-id TableCellHeader-root-id OrderInvoiceList-colNumber-id"
|
|
||||||
scope="col"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-labelContainer-id"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-label-id"
|
|
||||||
>
|
|
||||||
Invoice no
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody
|
|
||||||
class="MuiTableBody-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id"
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id OrderInvoiceList-colNumberClickable-id"
|
|
||||||
>
|
|
||||||
Invoice 1
|
|
||||||
<div
|
|
||||||
class="MuiTypography-root-id MuiTypography-caption-id"
|
|
||||||
>
|
|
||||||
created Jun 22, 2020
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -71090,55 +70961,12 @@ exports[`Storyshots Views / Orders / Order details no customer note 1`] = `
|
||||||
class="CardTitle-hr-id"
|
class="CardTitle-hr-id"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
class="MuiCardContent-root-id OrderInvoiceList-cardContentTable-id"
|
class="MuiCardContent-root-id"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ResponsiveTable-root-id"
|
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||||
>
|
>
|
||||||
<table
|
No invoices to be shown
|
||||||
class="MuiTable-root-id"
|
|
||||||
>
|
|
||||||
<thead
|
|
||||||
class="MuiTableHead-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id MuiTableRow-head-id"
|
|
||||||
>
|
|
||||||
<th
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-head-id TableCellHeader-root-id OrderInvoiceList-colNumber-id"
|
|
||||||
scope="col"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-labelContainer-id"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-label-id"
|
|
||||||
>
|
|
||||||
Invoice no
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody
|
|
||||||
class="MuiTableBody-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id"
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id OrderInvoiceList-colNumberClickable-id"
|
|
||||||
>
|
|
||||||
Invoice 1
|
|
||||||
<div
|
|
||||||
class="MuiTypography-root-id MuiTypography-caption-id"
|
|
||||||
>
|
|
||||||
created Jun 22, 2020
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -72226,55 +72054,12 @@ exports[`Storyshots Views / Orders / Order details no payment 1`] = `
|
||||||
class="CardTitle-hr-id"
|
class="CardTitle-hr-id"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
class="MuiCardContent-root-id OrderInvoiceList-cardContentTable-id"
|
class="MuiCardContent-root-id"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ResponsiveTable-root-id"
|
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||||
>
|
>
|
||||||
<table
|
No invoices to be shown
|
||||||
class="MuiTable-root-id"
|
|
||||||
>
|
|
||||||
<thead
|
|
||||||
class="MuiTableHead-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id MuiTableRow-head-id"
|
|
||||||
>
|
|
||||||
<th
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-head-id TableCellHeader-root-id OrderInvoiceList-colNumber-id"
|
|
||||||
scope="col"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-labelContainer-id"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-label-id"
|
|
||||||
>
|
|
||||||
Invoice no
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody
|
|
||||||
class="MuiTableBody-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id"
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id OrderInvoiceList-colNumberClickable-id"
|
|
||||||
>
|
|
||||||
Invoice 1
|
|
||||||
<div
|
|
||||||
class="MuiTypography-root-id MuiTypography-caption-id"
|
|
||||||
>
|
|
||||||
created Jun 22, 2020
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -73362,55 +73147,12 @@ exports[`Storyshots Views / Orders / Order details no shipping address 1`] = `
|
||||||
class="CardTitle-hr-id"
|
class="CardTitle-hr-id"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
class="MuiCardContent-root-id OrderInvoiceList-cardContentTable-id"
|
class="MuiCardContent-root-id"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ResponsiveTable-root-id"
|
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||||
>
|
>
|
||||||
<table
|
No invoices to be shown
|
||||||
class="MuiTable-root-id"
|
|
||||||
>
|
|
||||||
<thead
|
|
||||||
class="MuiTableHead-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id MuiTableRow-head-id"
|
|
||||||
>
|
|
||||||
<th
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-head-id TableCellHeader-root-id OrderInvoiceList-colNumber-id"
|
|
||||||
scope="col"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-labelContainer-id"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-label-id"
|
|
||||||
>
|
|
||||||
Invoice no
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody
|
|
||||||
class="MuiTableBody-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id"
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id OrderInvoiceList-colNumberClickable-id"
|
|
||||||
>
|
|
||||||
Invoice 1
|
|
||||||
<div
|
|
||||||
class="MuiTypography-root-id MuiTypography-caption-id"
|
|
||||||
>
|
|
||||||
created Jun 22, 2020
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -74498,55 +74240,12 @@ exports[`Storyshots Views / Orders / Order details partially fulfilled 1`] = `
|
||||||
class="CardTitle-hr-id"
|
class="CardTitle-hr-id"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
class="MuiCardContent-root-id OrderInvoiceList-cardContentTable-id"
|
class="MuiCardContent-root-id"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ResponsiveTable-root-id"
|
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||||
>
|
>
|
||||||
<table
|
No invoices to be shown
|
||||||
class="MuiTable-root-id"
|
|
||||||
>
|
|
||||||
<thead
|
|
||||||
class="MuiTableHead-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id MuiTableRow-head-id"
|
|
||||||
>
|
|
||||||
<th
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-head-id TableCellHeader-root-id OrderInvoiceList-colNumber-id"
|
|
||||||
scope="col"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-labelContainer-id"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-label-id"
|
|
||||||
>
|
|
||||||
Invoice no
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody
|
|
||||||
class="MuiTableBody-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id"
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id OrderInvoiceList-colNumberClickable-id"
|
|
||||||
>
|
|
||||||
Invoice 1
|
|
||||||
<div
|
|
||||||
class="MuiTypography-root-id MuiTypography-caption-id"
|
|
||||||
>
|
|
||||||
created Jun 22, 2020
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -75634,55 +75333,12 @@ exports[`Storyshots Views / Orders / Order details payment confirmed 1`] = `
|
||||||
class="CardTitle-hr-id"
|
class="CardTitle-hr-id"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
class="MuiCardContent-root-id OrderInvoiceList-cardContentTable-id"
|
class="MuiCardContent-root-id"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ResponsiveTable-root-id"
|
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||||
>
|
>
|
||||||
<table
|
No invoices to be shown
|
||||||
class="MuiTable-root-id"
|
|
||||||
>
|
|
||||||
<thead
|
|
||||||
class="MuiTableHead-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id MuiTableRow-head-id"
|
|
||||||
>
|
|
||||||
<th
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-head-id TableCellHeader-root-id OrderInvoiceList-colNumber-id"
|
|
||||||
scope="col"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-labelContainer-id"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-label-id"
|
|
||||||
>
|
|
||||||
Invoice no
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody
|
|
||||||
class="MuiTableBody-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id"
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id OrderInvoiceList-colNumberClickable-id"
|
|
||||||
>
|
|
||||||
Invoice 1
|
|
||||||
<div
|
|
||||||
class="MuiTypography-root-id MuiTypography-caption-id"
|
|
||||||
>
|
|
||||||
created Jun 22, 2020
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -76770,55 +76426,12 @@ exports[`Storyshots Views / Orders / Order details payment error 1`] = `
|
||||||
class="CardTitle-hr-id"
|
class="CardTitle-hr-id"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
class="MuiCardContent-root-id OrderInvoiceList-cardContentTable-id"
|
class="MuiCardContent-root-id"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ResponsiveTable-root-id"
|
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||||
>
|
>
|
||||||
<table
|
No invoices to be shown
|
||||||
class="MuiTable-root-id"
|
|
||||||
>
|
|
||||||
<thead
|
|
||||||
class="MuiTableHead-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id MuiTableRow-head-id"
|
|
||||||
>
|
|
||||||
<th
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-head-id TableCellHeader-root-id OrderInvoiceList-colNumber-id"
|
|
||||||
scope="col"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-labelContainer-id"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-label-id"
|
|
||||||
>
|
|
||||||
Invoice no
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody
|
|
||||||
class="MuiTableBody-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id"
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id OrderInvoiceList-colNumberClickable-id"
|
|
||||||
>
|
|
||||||
Invoice 1
|
|
||||||
<div
|
|
||||||
class="MuiTypography-root-id MuiTypography-caption-id"
|
|
||||||
>
|
|
||||||
created Jun 22, 2020
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -77906,55 +77519,12 @@ exports[`Storyshots Views / Orders / Order details pending payment 1`] = `
|
||||||
class="CardTitle-hr-id"
|
class="CardTitle-hr-id"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
class="MuiCardContent-root-id OrderInvoiceList-cardContentTable-id"
|
class="MuiCardContent-root-id"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ResponsiveTable-root-id"
|
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||||
>
|
>
|
||||||
<table
|
No invoices to be shown
|
||||||
class="MuiTable-root-id"
|
|
||||||
>
|
|
||||||
<thead
|
|
||||||
class="MuiTableHead-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id MuiTableRow-head-id"
|
|
||||||
>
|
|
||||||
<th
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-head-id TableCellHeader-root-id OrderInvoiceList-colNumber-id"
|
|
||||||
scope="col"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-labelContainer-id"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-label-id"
|
|
||||||
>
|
|
||||||
Invoice no
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody
|
|
||||||
class="MuiTableBody-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id"
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id OrderInvoiceList-colNumberClickable-id"
|
|
||||||
>
|
|
||||||
Invoice 1
|
|
||||||
<div
|
|
||||||
class="MuiTypography-root-id MuiTypography-caption-id"
|
|
||||||
>
|
|
||||||
created Jun 22, 2020
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -79042,55 +78612,12 @@ exports[`Storyshots Views / Orders / Order details refunded payment 1`] = `
|
||||||
class="CardTitle-hr-id"
|
class="CardTitle-hr-id"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
class="MuiCardContent-root-id OrderInvoiceList-cardContentTable-id"
|
class="MuiCardContent-root-id"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ResponsiveTable-root-id"
|
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||||
>
|
>
|
||||||
<table
|
No invoices to be shown
|
||||||
class="MuiTable-root-id"
|
|
||||||
>
|
|
||||||
<thead
|
|
||||||
class="MuiTableHead-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id MuiTableRow-head-id"
|
|
||||||
>
|
|
||||||
<th
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-head-id TableCellHeader-root-id OrderInvoiceList-colNumber-id"
|
|
||||||
scope="col"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-labelContainer-id"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-label-id"
|
|
||||||
>
|
|
||||||
Invoice no
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody
|
|
||||||
class="MuiTableBody-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id"
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id OrderInvoiceList-colNumberClickable-id"
|
|
||||||
>
|
|
||||||
Invoice 1
|
|
||||||
<div
|
|
||||||
class="MuiTypography-root-id MuiTypography-caption-id"
|
|
||||||
>
|
|
||||||
created Jun 22, 2020
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -80178,55 +79705,12 @@ exports[`Storyshots Views / Orders / Order details rejected payment 1`] = `
|
||||||
class="CardTitle-hr-id"
|
class="CardTitle-hr-id"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
class="MuiCardContent-root-id OrderInvoiceList-cardContentTable-id"
|
class="MuiCardContent-root-id"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ResponsiveTable-root-id"
|
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||||
>
|
>
|
||||||
<table
|
No invoices to be shown
|
||||||
class="MuiTable-root-id"
|
|
||||||
>
|
|
||||||
<thead
|
|
||||||
class="MuiTableHead-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id MuiTableRow-head-id"
|
|
||||||
>
|
|
||||||
<th
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-head-id TableCellHeader-root-id OrderInvoiceList-colNumber-id"
|
|
||||||
scope="col"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-labelContainer-id"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-label-id"
|
|
||||||
>
|
|
||||||
Invoice no
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody
|
|
||||||
class="MuiTableBody-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id"
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id OrderInvoiceList-colNumberClickable-id"
|
|
||||||
>
|
|
||||||
Invoice 1
|
|
||||||
<div
|
|
||||||
class="MuiTypography-root-id MuiTypography-caption-id"
|
|
||||||
>
|
|
||||||
created Jun 22, 2020
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -81314,55 +80798,12 @@ exports[`Storyshots Views / Orders / Order details unfulfilled 1`] = `
|
||||||
class="CardTitle-hr-id"
|
class="CardTitle-hr-id"
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
class="MuiCardContent-root-id OrderInvoiceList-cardContentTable-id"
|
class="MuiCardContent-root-id"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ResponsiveTable-root-id"
|
class="MuiTypography-root-id MuiTypography-body1-id MuiTypography-colorTextSecondary-id"
|
||||||
>
|
>
|
||||||
<table
|
No invoices to be shown
|
||||||
class="MuiTable-root-id"
|
|
||||||
>
|
|
||||||
<thead
|
|
||||||
class="MuiTableHead-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id MuiTableRow-head-id"
|
|
||||||
>
|
|
||||||
<th
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-head-id TableCellHeader-root-id OrderInvoiceList-colNumber-id"
|
|
||||||
scope="col"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-labelContainer-id"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
class="TableCellHeader-label-id"
|
|
||||||
>
|
|
||||||
Invoice no
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody
|
|
||||||
class="MuiTableBody-root-id"
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="MuiTableRow-root-id"
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
class="MuiTableCell-root-id MuiTableCell-body-id OrderInvoiceList-colNumberClickable-id"
|
|
||||||
>
|
|
||||||
Invoice 1
|
|
||||||
<div
|
|
||||||
class="MuiTypography-root-id MuiTypography-caption-id"
|
|
||||||
>
|
|
||||||
created Jun 22, 2020
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -380,6 +380,23 @@ export enum FulfillmentStatus {
|
||||||
FULFILLED = "FULFILLED",
|
FULFILLED = "FULFILLED",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export enum InvoiceErrorCode {
|
||||||
|
EMAIL_NOT_SET = "EMAIL_NOT_SET",
|
||||||
|
INVALID_STATUS = "INVALID_STATUS",
|
||||||
|
NOT_FOUND = "NOT_FOUND",
|
||||||
|
NOT_READY = "NOT_READY",
|
||||||
|
NUMBER_NOT_SET = "NUMBER_NOT_SET",
|
||||||
|
REQUIRED = "REQUIRED",
|
||||||
|
URL_NOT_SET = "URL_NOT_SET",
|
||||||
|
}
|
||||||
|
|
||||||
|
export enum JobStatusEnum {
|
||||||
|
DELETED = "DELETED",
|
||||||
|
FAILED = "FAILED",
|
||||||
|
PENDING = "PENDING",
|
||||||
|
SUCCESS = "SUCCESS",
|
||||||
|
}
|
||||||
|
|
||||||
export enum LanguageCodeEnum {
|
export enum LanguageCodeEnum {
|
||||||
AR = "AR",
|
AR = "AR",
|
||||||
AZ = "AZ",
|
AZ = "AZ",
|
||||||
|
|
Loading…
Reference in a new issue