Blame | Last modification | View Log | RSS feed
<style>#data th {font-size: 12px;text-align: center;}#data td {font-size: 12px;text-align: center;height: 40px;}a{text-decoration:none;}* { font-family: sans-serif; }label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }p { clear: both; }.submit { margin-left: 12em; }em { font-weight: bold; padding-right: 1em; vertical-align: top; }ul { padding-left: 13px;}td{background-color:gainsboro};.diffColor {background: grey;}border-color: #89cd89;}</style>#set($data = $action.getPromotionResult())<h3></h3><table id="data" style="width:100%;"><thead><tr><th>SKU</th><th>Promotion Type</th><th>Start Date</th><th>End Date</th><th>Standard Price</th><th>Sale Price</th><th>Uploaded On</th><th>Promotion Active</th><th>Updated on Marketplace</th></tr></thead><tbody>#foreach ( $d in $data )<tr style="border: 1px"><td>$d.getSku()</td><td>$d.getPromotionType()</td><td>$action.getDate($d.getStartDate())</td><td>$action.getDate($d.getEndDate())</td><td>$d.getStandardPrice()</td><td>$d.getSalePrice()</td><td>$action.getDate($d.getAddedOn())</td>#if($d.isPromotionActive())<td>Yes</td>#else<td>No</td>#end#if($d.getUpdatedOnMarketplace()<1111111)<td>Not Yet</td>#else<td>$action.getDate($d.getUpdatedOnMarketplace())</td>#end</tr>#end</tbody></table>