Subversion Repositories SmartDukaan

Rev

Rev 32723 | Rev 33358 | 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
19
                    #if($directGateway.name()=="SIDBI")
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>
30
#if($creditAccount.getDescription())
31
<td>$creditAccount.getDescription()</td>
32
#else
33
<td>-</td>
34
#end
35
<td>$creditAccount.getUpdatedOn().format($dateTimeFormatter)</td>
36
 
37
#if(!$creditAccount.isActive())
38
<td>
39
    #if($creditAccount.getSanctionedAmount()<=$creditAccount.getAvailableAmount())
40
        <button class="btn btn-primary activate-partner-kred" data-id="$creditAccount.getId()">Activate</button>
29840 tejbeer 41
    #else
33045 amit.gupta 42
        Close $creditAccount.getGateway() loans to Reactivate
29840 tejbeer 43
    #end
33045 amit.gupta 44
</td>
45
#else
46
<td>
47
    <button class="btn btn-primary deactivate-partner-kred" data-id="$creditAccount.getId()">Deactivate</button>
48
</td>
49
#end
29811 tejbeer 50
 
51