Merge pull request woocommerce/woocommerce-admin#2812 from cojennin/fix/2745-csv-coupons
Orders report now shows coupons in Coupon(s) column
This commit is contained in:
commit
dbf6b54fd0
|
@ -192,7 +192,7 @@ export default class OrdersReportTable extends Component {
|
||||||
formattedCoupons.length ? [ formattedCoupons[ 0 ] ] : [],
|
formattedCoupons.length ? [ formattedCoupons[ 0 ] ] : [],
|
||||||
formattedCoupons
|
formattedCoupons
|
||||||
),
|
),
|
||||||
value: formattedCoupons.map( item => item.code ).join( ' ' ),
|
value: formattedCoupons.map( coupon => coupon.label ).join( ', ' ),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
display: renderCurrency( net_total, currency ),
|
display: renderCurrency( net_total, currency ),
|
||||||
|
|
Loading…
Reference in New Issue