Subversion Repositories SmartDukaan

Rev

Rev 6293 | Blame | Compare with Previous | Last modification | View Log | RSS feed

#if($action.getError() && $action.getError()!="")
        <div style='padding:15px;'>
                $action.getError()
        </div>
#else
        #set($denominationType = $action.getDenominationType())
        #set($rechargeDenominations = $action.getRechargeDenominations())
    <table style="width:100%">
        <thead>
                <tr style="font-size: 17px;font-weight: normal;text-align: center;padding: 5px;">
                        <th>Amount</th>
                                <th>Validity</th>
                                #if($denominationType == "1")
                                        <th>Amount</th>
                                #else
                                        <th>Benefits</th>
                                #end
                </tr>
        </thead>
        <tbody>
                        #foreach($rechargeDenomination in $rechargeDenominations)
                                #set($validity=$rechargeDenomination.getValidity())
                                #set($description=$rechargeDenomination.getDescription())
                        <tr>
                                <td class='textCenter'><b class="populateAmount">$rechargeDenomination.getAmount()</b></td>
                                        <td>
                                                #if($validity && $validity != "")
                                                        $validity
                                                #else
                                                        -
                                                #end
                                        </td>
                                        <td>#if($description && $description != "")
                                                        $description
                                                #else
                                                        -
                                                #end
                                        </td>
                        </tr>
                        #end
        </tbody>
    </table>
#end