Rev 34149 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<style>.box {height: 30px;margin: 5px;display: block;text-align: center;line-height: 30px; /* Center text vertically */color: black;float: right;}.light-red {width: 150px;background-color: rgba(255, 0, 0, 0.22);}.light-green {width: 200px;background-color: rgba(42, 200, 69, 0.25);}</style><div><h3 align="center">All Commitments</h3></div><div><div><div class="box light-green">WOD Complete/Not Required</div><div class="box light-red">WOD Not Complete</div></div><table class="table table-bordered"><thead><tr><th>Brand</th><th>Amount</th><th>Document</th><th>Doc status</th><th>DMS Code</th><th>Commitment Active</th></tr></thead><tbody>#if(!$partnerBrandCommitmentModels.isEmpty())#foreach($commitment in $partnerBrandCommitmentModels)<tr#if($commitment.getDmsCode()=="IT_CODE" || $commitment.getDmsCode()=="TEMPCODE"|| $commitment.getDmsCode()=="LOWCODE"||!$commitment.getDmsCode())style="background-color: rgba(255,0,0,0.22)"#elsestyle="background-color: rgba(42,200,69,0.25)"#end><td>$commitment.getBrand()</td><td>$commitment.getCommitment()</td><td>$commitment.getNoc()#if($commitment.getNoc()>0)<a href="${rc.contextPath}/download-attachment?documentId=$commitment.getNoc()"class="download">DownloadDoc</a> #end</td>#if($commitment.getDocStatus())<td>$commitment.getDocStatus()</td>#else<td>NOT_RECEIVED</td>#end#if($commitment.getDmsCode())<td>$commitment.getDmsCode()</td>#else<td>-</td>#end#if($commitment.isActive()==true)<td>Active</td>#else<td>Inactive</td>#end</tr>#end#end</tbody></table></div>