Created
June 27, 2016 17:13
-
-
Save joemocha/be2a8ebe78fbd5a40f0ebce9f719e813 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getActions(cellData, cellDataKey, rowData, rowIndex) { | |
if(!rowData['return_invoice_id'] && rowData['days_left'] > 0){ | |
return <a style={this.styles.link} href={"/return_funnel/filtered_purchases?vin_number="+rowData['vin']+"&filter_type=vin_number_filter"}>Return Vehicle</a> | |
} else if (!rowData['return_invoice_id']){ | |
return ''; | |
} else { | |
return this.getVraLink(rowData); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment