Subversion Repositories SmartDukaan

Rev

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

<td>$creditAccount.getId()</td>
<td>$creditAccount.getFofoId()</td>
#set($customRetailer = $customRetailers.get($creditAccount.getFofoId()))
<td>$customRetailer.getBusinessName() ($customRetailer.getAddress().getCity()-$customRetailer.getCode())</td>

#if($customRetailer.getPan())
<td>$customRetailer.getPan()</td>
#else
<td>-</td>
#end
<td>
    #if($creditAccount.isActive() || !$fofoSidbiPendingSanctionsMap.get($creditAccount.getFofoId()))
        <span class="mk_gateway" data-gateway="$creditAccount.getGateway()"></span>$creditAccount.getGateway()
    #else
        <select>
            #foreach($directGateway in $directGateways)
                <option value="$directGateway">
                    $directGateway
                    #if($directGateway.name().equals("SIDBI"))
                        - $fofoSidbiPendingSanctionsMap.get($creditAccount.getFofoId()).getSanctionAmount()
                    #end
                </option>
            #end
        </select>
    #end
</td>
<td>$creditAccount.getSanctionedAmount()</td>
<td>$creditAccount.getAvailableAmount()</td>
<td>$creditAccount.getCreditStatus()</td>
#if($partnerAverageCreditDaysMap.containsKey($creditAccount.getFofoId()))
<td>$partnerAverageCreditDaysMap.get($creditAccount.getFofoId())</td>
#else
<td>-</td>
#end
<td>$creditAccount.getUpdatedOn().format($dateTimeFormatter)</td>

#if(!$creditAccount.isActive())
<td>
    <button class="btn btn-primary activate-partner-kred" data-id="$creditAccount.getId()">Activate</button>
</td>
#else
<td>
    <button class="btn btn-primary deactivate-partner-kred" data-id="$creditAccount.getId()">Deactivate</button>
</td>
#end