| 33879 |
tejus.loha |
1 |
<div class="modal-body">
|
|
|
2 |
<h4 class="modal-title">Upload NOC</h4>
|
|
|
3 |
<table class="table table-bordered" name="requiredNoc" id="requiredNoc">
|
|
|
4 |
<thead>
|
|
|
5 |
<th>Brand</th>
|
|
|
6 |
<th>Upload Noc</th>
|
|
|
7 |
<th>NOC From GT</th>
|
|
|
8 |
</thead>
|
|
|
9 |
<tbody>
|
|
|
10 |
#foreach($nrb in $nocRequiredBrands)
|
|
|
11 |
<tr>
|
|
|
12 |
<td align="center">
|
|
|
13 |
<input type="hidden" value="$nrb.getId()" name="brandId" class="brandId">
|
|
|
14 |
<label style="color: #688a7e ; font-weight: bold;">$nrb.getBrandName()</label>
|
|
|
15 |
</td>
|
|
|
16 |
<td>
|
|
|
17 |
<input type="hidden" value="$nrb.getId()" name="brandId" class="brandId">
|
|
|
18 |
<input type="hidden" name="documentId" value="$nocRequiredBrandsMap.get($nrb.getId()).getNoc()"
|
|
|
19 |
class="documentId">
|
|
|
20 |
<input type="file" required>
|
|
|
21 |
#if($nocRequiredBrandsMap.get($nrb.getId()).getNoc()>0)
|
|
|
22 |
<a href="${rc.contextPath}/download-attachment?documentId=$nocRequiredBrandsMap.get($nrb.getId()).getNoc()">Download
|
|
|
23 |
& View</a>
|
|
|
24 |
#end
|
|
|
25 |
</td>
|
|
|
26 |
<td align="center">
|
|
|
27 |
#if($nocRequiredBrandsMap.get($nrb.getId()).getNocGt())
|
|
|
28 |
<select name="nocRequired" class="noc-required">
|
|
|
29 |
<option value="$nrb.getNocGt()"
|
|
|
30 |
selected>$nocRequiredBrandsMap.get($nrb.getId()).getNocGt()</option>
|
|
|
31 |
<option value="RECEIVED">RECEIVED</option>
|
|
|
32 |
<option value="NOT_RECEIVED">NOT_RECEIVED</option>
|
|
|
33 |
<option value="NOT_REQUIRED">NOT_REQUIRED</option>
|
|
|
34 |
</select>
|
|
|
35 |
#else
|
|
|
36 |
<select name="nocRequired" class="noc-required">
|
|
|
37 |
<option value="" selected>NOC GT</option>
|
|
|
38 |
<option value="RECEIVED">RECEIVED</option>
|
|
|
39 |
<option value="NOT_RECEIVED">NOT_RECEIVED</option>
|
|
|
40 |
<option value="NOT_REQUIRED">NOT_REQUIRED</option>
|
|
|
41 |
</select>
|
|
|
42 |
#end
|
|
|
43 |
|
|
|
44 |
</td>
|
|
|
45 |
</tr>
|
|
|
46 |
|
|
|
47 |
#end
|
|
|
48 |
</tbody>
|
|
|
49 |
</table>
|
|
|
50 |
<div align="right">
|
|
|
51 |
<button type="button" class="btn-primary uploadNocDoc" value="$nocRequiredBrands.get(0).getLoiId()"
|
|
|
52 |
## data-dismiss="modal"
|
|
|
53 |
>Upload All
|
|
|
54 |
</button>
|
|
|
55 |
</div>
|
|
|
56 |
</div>
|
|
|
57 |
|