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:
Ron Rennick 2019-08-20 11:18:33 -03:00 committed by GitHub
commit dbf6b54fd0
1 changed files with 1 additions and 1 deletions

View File

@ -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 ),