| 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()))
|
| 33886 |
amit.gupta |
13 |
<span class="mk_gateway" data-gateway="$creditAccount.getGateway()"></span>$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>
|
| 37031 |
amit |
39 |
#if($fofoSidbiPendingSanctionsMap.get($creditAccount.getFofoId()))
|
|
|
40 |
<button class="btn btn-primary switch-credit-gateway" data-id="$creditAccount.getId()">Activate</button>
|
|
|
41 |
#else
|
|
|
42 |
<button class="btn btn-primary unblock-credit" data-id="$creditAccount.getId()" data-fofo-id="$creditAccount.getFofoId()">Unblock</button>
|
|
|
43 |
#end
|
| 33045 |
amit.gupta |
44 |
</td>
|
|
|
45 |
#else
|
|
|
46 |
<td>
|
| 37031 |
amit |
47 |
<button class="btn btn-primary block-credit" data-id="$creditAccount.getId()" data-fofo-id="$creditAccount.getFofoId()">Block</button>
|
| 33045 |
amit.gupta |
48 |
</td>
|
|
|
49 |
#end
|
| 29811 |
tejbeer |
50 |
|
|
|
51 |
|