CSV download of Orders now shows coupons in Coupon(s) column
This commit is contained in:
parent
90edd4e5a6
commit
68a8012f57
|
@ -192,7 +192,7 @@ export default class OrdersReportTable extends Component {
|
|||
formattedCoupons.length ? [ formattedCoupons[ 0 ] ] : [],
|
||||
formattedCoupons
|
||||
),
|
||||
value: formattedCoupons.map( item => item.code ).join( ' ' ),
|
||||
value: formattedCoupons.map( coupon => coupon.label ).join( ' ' ),
|
||||
},
|
||||
{
|
||||
display: renderCurrency( net_total, currency ),
|
||||
|
|
Loading…
Reference in New Issue