Subversion Repositories SmartDukaan

Rev

Rev 33358 | Rev 33886 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
33045 amit.gupta 1
<td>$creditAccount.getId()</td>
2
<td>$creditAccount.getFofoId()</td>
3
#set($customRetailer = $customRetailers.get($creditAccount.getFofoId()))
4
<td>$customRetailer.getBusinessName() ($customRetailer.getAddress().getCity()-$customRetailer.getCode())</td>
5
 
6
#if($customRetailer.getPan())
7
<td>$customRetailer.getPan()</td>
8
#else
9
<td>-</td>
10
#end
11
<td>
12
    #if($creditAccount.isActive() || !$fofoSidbiPendingSanctionsMap.get($creditAccount.getFofoId()))
13
        $creditAccount.getGateway()
29963 tejbeer 14
    #else
33045 amit.gupta 15
        <select>
16
            #foreach($directGateway in $directGateways)
17
                <option value="$directGateway">
18
                    $directGateway
33358 amit.gupta 19
                    #if($directGateway.name().equals("SIDBI"))
33045 amit.gupta 20
                        - $fofoSidbiPendingSanctionsMap.get($creditAccount.getFofoId()).getSanctionAmount()
21
                    #end
22
                </option>
23
            #end
24
        </select>
29963 tejbeer 25
    #end
33045 amit.gupta 26
</td>
27
<td>$creditAccount.getSanctionedAmount()</td>
28
<td>$creditAccount.getAvailableAmount()</td>
29
<td>$creditAccount.getCreditStatus()</td>
33419 amit.gupta 30
#if($partnerAverageCreditDaysMap.containsKey($creditAccount.getFofoId()))
31
<td>$partnerAverageCreditDaysMap.get($creditAccount.getFofoId())</td>
33045 amit.gupta 32
#else
33
<td>-</td>
34
#end
35
<td>$creditAccount.getUpdatedOn().format($dateTimeFormatter)</td>
36
 
37
#if(!$creditAccount.isActive())
38
<td>
33358 amit.gupta 39
    <button class="btn btn-primary activate-partner-kred" data-id="$creditAccount.getId()">Activate</button>
33045 amit.gupta 40
</td>
41
#else
42
<td>
43
    <button class="btn btn-primary deactivate-partner-kred" data-id="$creditAccount.getId()">Deactivate</button>
44
</td>
45
#end
29811 tejbeer 46
 
47