fix orders fixture error
This commit is contained in:
parent
ea3b65bd8c
commit
aefb339861
2 changed files with 3 additions and 3 deletions
|
@ -159,7 +159,7 @@ const OrderPayment: React.FC<OrderPaymentProps> = props => {
|
||||||
)}
|
)}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{maybe(() => order && order.discount.amount !== 0) ? (
|
{maybe(() => order && order.discount.amount !== 0) && (
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
|
@ -172,7 +172,7 @@ const OrderPayment: React.FC<OrderPaymentProps> = props => {
|
||||||
-<Money money={order.discount} />
|
-<Money money={order.discount} />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
) : null}
|
)}
|
||||||
<tr className={classes.totalRow}>
|
<tr className={classes.totalRow}>
|
||||||
<td>
|
<td>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
|
|
|
@ -1042,9 +1042,9 @@ export const draftOrder = (placeholder: string): OrderDetails_order => ({
|
||||||
canFinalize: true,
|
canFinalize: true,
|
||||||
created: "2018-09-20T23:23:39.811428+00:00",
|
created: "2018-09-20T23:23:39.811428+00:00",
|
||||||
customerNote: "Lorem ipsum dolor sit",
|
customerNote: "Lorem ipsum dolor sit",
|
||||||
|
discount: null,
|
||||||
events: [],
|
events: [],
|
||||||
fulfillments: [],
|
fulfillments: [],
|
||||||
discount: null,
|
|
||||||
id: "T3JkZXI6MjQ=",
|
id: "T3JkZXI6MjQ=",
|
||||||
lines: [
|
lines: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue