Subversion Repositories SmartDukaan

Rev

Rev 34099 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<div class="modal-body">
    <h4 class="modal-title">Upload NOC</h4>
    <table class="table table-bordered" name="requiredNoc" id="requiredNoc">
        <thead>
        <tr>
            <th>Brand</th>
            <th>Amount</th>
            <th>Upload Noc</th>
            <th>NOC From GT</th>
            <th>Active</th>
        </tr>
        </thead>
        <tbody>
            #foreach($lbc in $loiBrandCommitmentList)
            <tr>
                <td align="center">
                    <input type="hidden" value="$lbc.getId()" name="brandId" class="brandId">
                    <label style="color: #688a7e ; font-weight: bold;">$lbc.getBrandName()</label>
                </td>
                <td align="center">
                    <input type="number" value="$lbc.getAmount()" name="commitAmount" class="commitAmount"
                           style="width: 100%;">
                </td>
                <td>
                    <input type="hidden" value="$lbc.getId()" name="brandId" class="brandId">
                    <input type="hidden" name="documentId" value="$loiBrandCommitmentMap.get($lbc.getId()).getNoc()"
                           class="documentId">
                    <input type="file" required style="width: 100%;">
                    #if($loiBrandCommitmentMap.get($lbc.getId()).getNoc()>0)
                        <a href="${rc.contextPath}/download-attachment?documentId=$loiBrandCommitmentMap.get($lbc.getId()).getNoc()">Download
                            & View</a>
                    #end
                </td>
                <td align="center">

                        <select name="nocRequired" class="noc-required" style="width: 100%;">
                            #foreach($option in $nocGtOptions)
                                <option value="$option" #if($option==$lbc.getNocGt())selected#end>$option</option>
                            #end
                        </select>

                </td>
                <td align="center">

                    <select name="nocRequired" class="mk_loiBrandCommit-isActive" style="width: 100%;">
                        <option value="$loiBrandCommitmentMap.get($lbc.getId()).isActive()"
                                selected>$loiBrandCommitmentMap.get($lbc.getId()).isActive()</option>
                        #if($loiBrandCommitmentMap.get($lbc.getId()).isActive()==true)
                            <option value="false">false</option>
                        #else
                            <option value="true">true</option>
                        #end
                    </select>

                </td>
            </tr>

            #end
        </tbody>
    </table>
    <div align="right">
        <button type="button" class="btn-primary uploadNocDoc"
                value="$loiBrandCommitmentList.get(0).getLoiId()" data-onboardingid="$onBoardingId">Submit
        </button>

    </div>
</div>