Subversion Repositories SmartDukaan

Rev

Rev 32723 | Rev 33358 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32723 Rev 33045
Line 1... Line -...
1
    
-
 
2
    <td>$creditAccount.getId()</td>
1
<td>$creditAccount.getId()</td>
3
    <td>$creditAccount.getFofoId()</td>
2
<td>$creditAccount.getFofoId()</td>
4
    #set($customRetailer = $customRetailers.get($creditAccount.getFofoId()))
3
#set($customRetailer = $customRetailers.get($creditAccount.getFofoId()))
5
    <td>$customRetailer.getBusinessName() ($customRetailer.getAddress().getCity()-$customRetailer.getCode())</td>
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
6
    
11
<td>
7
    #if($fofoStoreMap.get($creditAccount.getFofoId()).getPan())
12
    #if($creditAccount.isActive() || !$fofoSidbiPendingSanctionsMap.get($creditAccount.getFofoId()))
8
    <td>$fofoStoreMap.get($creditAccount.getFofoId()).getPan()</td>
13
        $creditAccount.getGateway()
9
    #else
14
    #else
-
 
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
10
    <td>-</td>
24
        </select>
11
    #end
25
    #end
12
    <td>$creditAccount.getGateway()</td>
26
</td>
13
    <td>$creditAccount.getSanctionedAmount()</td>
27
<td>$creditAccount.getSanctionedAmount()</td>
14
    <td>$creditAccount.getAvailableAmount()</td>
28
<td>$creditAccount.getAvailableAmount()</td>
15
    <td>$creditAccount.getCreditStatus()</td>
29
<td>$creditAccount.getCreditStatus()</td>
16
    #if($creditAccount.getDescription())
30
#if($creditAccount.getDescription())
17
    <td>$creditAccount.getDescription()</td>
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>
18
    #else
41
    #else
19
    <td>-</td>
42
        Close $creditAccount.getGateway() loans to Reactivate
20
    #end
43
    #end
21
     <td>$creditAccount.getUpdatedOn().format($dateTimeFormatter)</td>
-
 
22
    
44
</td>
23
    #if(!$creditAccount.isActive())
45
#else
24
       <td><button class="btn btn-primary activate-partner-kred"  data-id="$creditAccount.getId()">Activate</button>
-
 
25
			    			</td>
46
<td>
26
			    			#else
-
 
27
    <td><button class="btn btn-primary deactivate-partner-kred"  data-id="$creditAccount.getId()">Deactivate</button>
47
    <button class="btn btn-primary deactivate-partner-kred" data-id="$creditAccount.getId()">Deactivate</button>
28
			    			</td>
48
</td>
29
			    			#end
49
#end
30
			    			
50
			    			
31
			    			
51
			    			
32
52