| Line 1... |
Line 1... |
| 1 |
<div class="modal-body">
|
1 |
<div class="modal-body">
|
| 2 |
<h4 class="modal-title">Upload NOC</h4>
|
2 |
<h4 class="modal-title">Upload NOC</h4>
|
| 3 |
<table class="table table-bordered" name="requiredNoc" id="requiredNoc">
|
3 |
<table class="table table-bordered" name="requiredNoc" id="requiredNoc">
|
| 4 |
<thead>
|
4 |
<thead>
|
| - |
|
5 |
<tr>
|
| 5 |
<th>Brand</th>
|
6 |
<th>Brand</th>
|
| 6 |
<th>Amount</th>
|
7 |
<th>Amount</th>
|
| 7 |
<th>Upload Noc</th>
|
8 |
<th>Upload Noc</th>
|
| 8 |
<th>NOC From GT</th>
|
9 |
<th>NOC From GT</th>
|
| 9 |
<th>Active</th>
|
10 |
<th>Active</th>
|
| - |
|
11 |
</tr>
|
| 10 |
</thead>
|
12 |
</thead>
|
| 11 |
<tbody>
|
13 |
<tbody>
|
| 12 |
#foreach($lbc in $loiBrandCommitmentList)
|
14 |
#foreach($lbc in $loiBrandCommitmentList)
|
| 13 |
<tr>
|
15 |
<tr>
|
| 14 |
<td align="center">
|
16 |
<td align="center">
|
| 15 |
<input type="hidden" value="$lbc.getId()" name="brandId" class="brandId">
|
17 |
<input type="hidden" value="$lbc.getId()" name="brandId" class="brandId">
|
| 16 |
<label style="color: #688a7e ; font-weight: bold;">$lbc.getBrandName()</label>
|
18 |
<label style="color: #688a7e ; font-weight: bold;">$lbc.getBrandName()</label>
|
| 17 |
</td>
|
19 |
</td>
|
| 18 |
<td align="center">
|
20 |
<td align="center">
|
| 19 |
<input type="number" value="$lbc.getAmount()" name="commitAmount" class="commitAmount">
|
21 |
<input type="number" value="$lbc.getAmount()" name="commitAmount" class="commitAmount"
|
| - |
|
22 |
style="width: 100%;">
|
| 20 |
</td>
|
23 |
</td>
|
| 21 |
<td>
|
24 |
<td>
|
| 22 |
<input type="hidden" value="$lbc.getId()" name="brandId" class="brandId">
|
25 |
<input type="hidden" value="$lbc.getId()" name="brandId" class="brandId">
|
| 23 |
<input type="hidden" name="documentId" value="$loiBrandCommitmentMap.get($lbc.getId()).getNoc()"
|
26 |
<input type="hidden" name="documentId" value="$loiBrandCommitmentMap.get($lbc.getId()).getNoc()"
|
| 24 |
class="documentId">
|
27 |
class="documentId">
|
| 25 |
<input type="file" required>
|
28 |
<input type="file" required style="width: 100%;">
|
| 26 |
#if($loiBrandCommitmentMap.get($lbc.getId()).getNoc()>0)
|
29 |
#if($loiBrandCommitmentMap.get($lbc.getId()).getNoc()>0)
|
| 27 |
<a href="${rc.contextPath}/download-attachment?documentId=$loiBrandCommitmentMap.get($lbc.getId()).getNoc()">Download
|
30 |
<a href="${rc.contextPath}/download-attachment?documentId=$loiBrandCommitmentMap.get($lbc.getId()).getNoc()">Download
|
| 28 |
& View</a>
|
31 |
& View</a>
|
| 29 |
#end
|
32 |
#end
|
| 30 |
</td>
|
33 |
</td>
|
| 31 |
<td align="center">
|
34 |
<td align="center">
|
| 32 |
#if($loiBrandCommitmentMap.get($lbc.getId()).getNocGt())
|
35 |
#if($loiBrandCommitmentMap.get($lbc.getId()).getNocGt())
|
| 33 |
<select name="nocRequired" class="noc-required">
|
36 |
<select name="nocRequired" class="noc-required" style="width: 100%;">
|
| 34 |
<option value="$lbc.getNocGt()"
|
37 |
<option value="$lbc.getNocGt()"
|
| 35 |
selected>$loiBrandCommitmentMap.get($lbc.getId()).getNocGt()</option>
|
38 |
selected>$loiBrandCommitmentMap.get($lbc.getId()).getNocGt()</option>
|
| 36 |
<option value="RECEIVED">RECEIVED</option>
|
39 |
<option value="RECEIVED">RECEIVED</option>
|
| 37 |
<option value="NOT_RECEIVED">NOT_RECEIVED</option>
|
40 |
<option value="NOT_RECEIVED">NOT_RECEIVED</option>
|
| 38 |
<option value="NOT_REQUIRED">NOT_REQUIRED</option>
|
41 |
<option value="NOT_REQUIRED">NOT_REQUIRED</option>
|
| Line 47... |
Line 50... |
| 47 |
#end
|
50 |
#end
|
| 48 |
|
51 |
|
| 49 |
</td>
|
52 |
</td>
|
| 50 |
<td align="center">
|
53 |
<td align="center">
|
| 51 |
|
54 |
|
| 52 |
<select name="nocRequired" class="mk_LoiBrandCommit-isActive">
|
55 |
<select name="nocRequired" class="mk_LoiBrandCommit-isActive" style="width: 100%;">
|
| 53 |
<option value="$loiBrandCommitmentMap.get($lbc.getId()).isActive()"
|
56 |
<option value="$loiBrandCommitmentMap.get($lbc.getId()).isActive()"
|
| 54 |
selected>$loiBrandCommitmentMap.get($lbc.getId()).isActive()</option>
|
57 |
selected>$loiBrandCommitmentMap.get($lbc.getId()).isActive()</option>
|
| 55 |
#if($loiBrandCommitmentMap.get($lbc.getId()).isActive()==true)
|
58 |
#if($loiBrandCommitmentMap.get($lbc.getId()).isActive()==true)
|
| 56 |
<option value="false">false</option>
|
59 |
<option value="false">false</option>
|
| 57 |
#else
|
60 |
#else
|