OrderPayment - update discount condition

This commit is contained in:
AlicjaSzu 2020-05-19 13:10:11 +02:00
parent aefb339861
commit 1047762aa6

View file

@ -159,7 +159,7 @@ const OrderPayment: React.FC<OrderPaymentProps> = props => {
)} )}
</td> </td>
</tr> </tr>
{maybe(() => order && order.discount.amount !== 0) && ( {order?.discount?.amount > 0 && (
<tr> <tr>
<td> <td>
<FormattedMessage <FormattedMessage