CSV download of Orders now shows coupons in Coupon(s) column

This commit is contained in:
Connor Jennings 2019-08-19 12:42:34 -04:00
parent 90edd4e5a6
commit 68a8012f57
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 ),