Subversion Repositories SmartDukaan

Rev

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

                   #if($pob.getId())
                        <td> <i class="far fa-arrow-alt-circle-up" style="background:green"></i>$pob.getId()</td>
                    #else
                        <td><i class="far fa-arrow-alt-circle-down"></i>$pob.getId()</td>
                    #end
                   
                      #if($pob.getOutLetName() && $pob.getOutLetName() != "")
                        <td> <i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="text" placeholder="OutLet Name" value="$pob.getOutLetName()" name="outlateName"
                                   disabled></td>
                    #else
                        <td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="text" placeholder="OutLet Name" name="outlateName"  disabled></td>
                    #end
                    
                    
                      #if($pob.getStateHead() && $pob.getStateHead() != "")
                        <td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="text" placeholder="State Head(SM)" disabled name="shead1"
                                   value="$pob.getStateHead()"></td>
                    #else
                        <td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="text" placeholder="State Head(SM)" disabled name="shead1"></td>
                    #end
                    #if($pob.getBDM() && $pob.getBDM() != "")
                        <td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="text" placeholder="BDM (SM)" disabled name="bdm1" value="$pob.getBDM()"></td>
                    #else
                        <td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="text" placeholder="BDM (SM)" disabled name="bdm1"></td>
                    #end
                   
                     #if($pob.getAgreedBrandFees() != 0)
                     
                     #if($pob.getReceivedBrandFees() >= $pob.getAgreedBrandFees())
                    
                        <td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="text" placeholder="Agreed Brand fees(SM)" disabled name="abrand1"
                                   value="$pob.getAgreedBrandFees()" ></td>
                       #else            
                             <td><i class="far fa-arrow-alt-circle-down" style="background:red;"></i><input type="text" placeholder="Agreed Brand fees(SM)" disabled name="abrand1"
                                   value="$pob.getAgreedBrandFees()" ></td>    
                      #end  
                    #else
                        <td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="text" placeholder="Agreed Brand fees(SM)" disabled name="abrand1"></td>
                    #end
                    
                    
                    #if($pob.getReceivedBrandFees()!= 0)

                          #if($pob.getReceivedBrandFees() >= $pob.getAgreedBrandFees())
                              <td> <i class="far fa-arrow-alt-circle-up" style="background:green"></i> <input type="text" placeholder="Received Brand fees" disabled name="recbrand1"
                                   value="$pob.getReceivedBrandFees()"></td>
                          #else
                            <td style="background:red;"><i class="far fa-arrow-alt-circle-up" style="background:red"></i><input type="text" placeholder="Received Brand fees" disabled name="recbrand1"
                                   value="$pob.getReceivedBrandFees()"></td>
                          #end
         
                     #else
                        <td> <i class="far fa-arrow-alt-circle-up" style="background:pink;"></i><input type="text" placeholder="Received Brand fees" disabled name="recbrand1"></td>
                    #end
                     
                    
           
                    #if($pob.getAadharDoc()  && $pob.getAadharDoc() != 0)
                        <td class="aadhar docfile">
                         <i class="far fa-arrow-alt-circle-up" style="background:green"></i>
                            <input type="hidden" class="aadharhidden" value="$pob.getAadharDoc()">
                            <input type="file" class="aadhar" placeholder="aadhar" disabled name="aadhar1"
                                   value="$pob.getAadharDoc()">
                             <a href="${rc.contextPath}/download-attachment?documentId=$pob.getAadharDoc()" class="download">Download
                                Doc</a>
                          <a href="#" style="padding: 49px;" class="delKyc">Delete Doc</a>

                        </td>
                    #else
                        <td class="aadhar docfile">
                        <i class="far fa-arrow-alt-circle-down" style="background:pink;"></i>
                            <input type="hidden">
                            <input type="file" class="aadhar" placeholder="aadhar" disabled name="aadhar1">
                        </td>
                    #end
                   #if($pob.getAadharDocBack()  && $pob.getAadharDocBack() != 0)
                   <td class="aadharBack docfile">
                       <i class="far fa-arrow-alt-circle-up" style="background:green"></i>
                       <input type="hidden" class="aadharBackhidden" value="$pob.getAadharDoc()">
                       <input type="file" class="aadharBack" placeholder="aadhar Back" disabled name="aadhar2"
                              value="$pob.getAadharDocBack()">
                       <a href="${rc.contextPath}/download-attachment?documentId=$pob.getAadharDocBack()"
                          class="download">Download
                           Doc</a>
                       <a href="#" style="padding: 49px;" class="delKyc">Delete Doc</a>

                   </td>
                   #else
                   <td class="aadharBack docfile">
                       <i class="far fa-arrow-alt-circle-down" style="background:pink;"></i>
                       <input type="hidden">
                       <input type="file" class="aadharBack" placeholder="aadhar Back" disabled name="aadhar2">
                   </td>
                   #end
                    #if($pob.getPanDoc() && $pob.getPanDoc() != 0)
                        <td class="pan docfile">
                         <i class="far fa-arrow-alt-circle-up" style="background:green"></i>
                            <input type="hidden" class="panhidden" value="$pob.getPanDoc()">
                            <input type="file" class="pandoc" placeholder="pan(SM)" disabled name="pan1"
                                   value="$pob.getPanDoc()">
                        ##<button type="button" class="btn btn-primary download-pan-file" data-docpid="$pob.getPanDoc()" data-id="$pob.getId()">Download Document</button>
                        <a href="${rc.contextPath}/download-attachment?documentId=$pob.getPanDoc()" class="download">Download Doc</a>
                               <a href="#" style="padding: 49px;" class="delKyc">Delete Doc</a>
                        </td>
                    #else
                        <td class="pan docfile">
                         <i class="far fa-arrow-alt-circle-down" style="background:pink;"></i>
                            <input type="hidden">
                            <input type="file" class="pandoc" placeholder="pan(SM)" disabled name="pan1">
                        </td>
                    #end
                    #if($pob.getGstdoc()  && $pob.getGstdoc() != 0)
                        <td class="gst docfile">
                         <i class="far fa-arrow-alt-circle-up" style="background:green"></i>
                            <input type="hidden" class="gsthidden" value="$pob.getGstdoc()">
                            <input type="file" class="gstdoc" placeholder="GST(SM)" disabled name="gst1"
                                   value="$pob.getGstdoc()">
                            ##<button type="button" class="btn btn-primary download-gst-file" data-docpid="$pob.getGstdoc()" data-id="$pob.getId()">Download Document</button>
                            <a href="${rc.contextPath}/download-attachment?documentId=$pob.getGstdoc()" class="download">Download Doc</a>
                            <a href="#" style="padding: 49px;" class="delKyc">Delete Doc</a>
                        </td>
                    #else
                        <td class="gst docfile">
                         <i class="far fa-arrow-alt-circle-down" style="background:pink;"></i>
                            <input type="hidden">
                            <input type="file" class="gstdoc" placeholder="GST(SM)" disabled name="gst1">
                        </td>
                    #end
                    #if($pob.getCancelCheque() && $pob.getCancelCheque() != 0)

                        <td class="cancheque docfile">
                         <i class="far fa-arrow-alt-circle-up" style="background:green"></i>
                            <input type="hidden" class="canchequehidden" value="$pob.getCancelCheque()">
                           <input type="file" class="canchequedoc" placeholder="Cancel cheque(SM)" disabled name="cancheque1"
                            value="$pob.getCancelCheque()">
                            ##<button type="button" class="btn btn-primary download-cancheque-file" data-docpid="$pob.getCancelCheque()" data-id="$pob.getId()">Download Document</button>
                            <a href="${rc.contextPath}/download-attachment?documentId=$pob.getCancelCheque()" class="download">Download
                                Doc</a>
                                <a href="#" style="padding: 49px;" class="delKyc">Delete Doc</a>

                        </td>

                    #else
                        <td class="cancheque docfile">
                        <i class="far fa-arrow-alt-circle-down" style="background:pink;"></i>
                            <input type="hidden">
                            <input type="file" class="canchequedoc" placeholder="Cancel cheque(SM)" disabled
                                   name="cancheque1">
                        </td>
                    #end
                     #if($pob.getRentAgreement() && $pob.getRentAgreement() != 0)
                        <td class="rent docfile">
                        <i class="far fa-arrow-alt-circle-up" style="background:green"></i>
                            <input type="hidden" class="renthidden" value="$pob.getRentAgreement()">
                            <input type="file" class="rentdoc" placeholder="Rent agreement/Owner ship proof(SM)" disabled name="ragreement1"
                                   value="$pob.getRentAgreement()">
                            <a href="${rc.contextPath}/download-attachment?documentId=$pob.getRentAgreement()" class="download">Download Doc</a>
                     <a href="#" style="padding: 49px;" class="delKyc">Delete Doc</a>
                        </td>
                      #else
                       
                        <td class="rent docfile">
                        <i class="far fa-arrow-alt-circle-down" style="background:pink;"></i>
                        <input type="hidden">
                        <input type="file" placeholder="Rent agreement/Owner ship proof(SM)" disabled name="ragreement1">
                        </td>
                    #end
                    
                     #if($pob.getLOI() && $pob.getLOI() != 0)
                        <td class="loi docfile" >
                        <i class="far fa-arrow-alt-circle-up" style="background:green"></i>
                            <input type="hidden" class="loihidden" value="$pob.getLOI()">
                            <input type="file" class="loidoc" placeholder="LOI(SM)" disabled  value="$pob.getLOI()">
                            <a href="${rc.contextPath}/download-attachment?documentId=$pob.getLOI()" class="download">Download Doc</a>
                       <a href="#" style="padding: 49px;" class="delKyc">Delete Doc</a>
                       
                        </td>
                      #else
                      
                        <td class="loi docfile">
                         <i class="far fa-arrow-alt-circle-down" style="background:pink;"></i>
                         <input type="hidden">
                        <input type="file" placeholder="LOI(SM)" disabled name="loi1">
                        </td>
                    #end
                     #if($pob.getDocumentsCompleted() && $pob.getDocumentsCompleted() != "")
                    <td>
                    #if($pob.getDocumentsCompleted()== "YES")
                        <i class="far fa-arrow-alt-circle-up" style="background:lime"></i>
                    #else
                        <i class="far fa-arrow-alt-circle-up" style="background:red"></i>
                    #end
                      <select class="" id = "allDocumentComp" name="allDocumentComp" placeholder="" disabled>
                                                <option value="" disabled selected>-Doc Compl-</option>
                                                 #if($pob.getDocumentsCompleted() == "YES")
                             <option value="YES" selected>YES</option>
                         #else
                             <option value="YES" >YES</option>
                         #end
                                                
                                 #if($pob.getDocumentsCompleted() == "NO")
                              <option value="NO" selected>NO</option>
                         #else
                              <option value="NO">NO</option>
                         #end
                             </select>
                    </td>
                   #else
                    <td>
                    <i class="far fa-arrow-alt-circle-down" style="background:red"></i>
                      <select class="" id = "allDocumentComp" name="allDocumentComp" disabled>
                                                <option value="" selected>-Documents-</option>
                                                        <option value="YES">YES</option>
                                        <option value="NO">NO</option>
                                </select>
                    </td>
                   #end
                   
                   
                   
                    
                   
                  #if($pob.getAnniversaryDate())
                        <td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="date" class="anniversaryDate" placeholder="Anniversary Date(legal)" disabled
                                   name="anniversaryDate"
                                   value="$pob.getAnniversaryDate().format($datehiphenFormatter)">
                       </td>
                    #else
                        <td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="date" class="anniversaryDate" placeholder="Anniversary Date(legal)" disabled
                                   name="anniversaryDate">
                        </td>
                    #end 
                 #if($pob.getDob())
                        <td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="date" class="dob" placeholder="DOB(legal)" disabled
                                   name="dob"
                                   value="$pob.getDob().format($datehiphenFormatter)"></td>
                    #else
                        <td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="date" class="dob" placeholder="DOB(legal)" disabled
                                   name="dob">
                        </td>
                    #end 
                    
                     #if($pob.getCode() && $pob.getCode() != "")
                        <td><i class="far fa-arrow-alt-circle-up" style="background:green"></i><input type="text" placeholder="Code(SM)" disabled name="codeLegal" value="$pob.getCode()"
                                   ></td>
                    #else
                        <td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="text" placeholder="Code(SM)" disabled name="codeLegal"></td>
                    #end
                    
                    
                    
                     #if($pob.getPhoneNumber() && $pob.getPhoneNumber() != 0)
                        <td><i class="far fa-arrow-alt-circle-up" style="background:green"></i>
                        <input type="number" placeholder="9999999999" value="$pob.getPhoneNumber()"
                                   name="phoneNumberLegal"
                                   disabled ></td>
                    #else
                        <td><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i><input type="number" placeholder="9999999999" name="phonenumber1" disabled></td>
                    #end
                    
                    
                    
                 
                    
                    
                   #if($pob.getBusinessType() && $pob.getBusinessType() != "")
                   
                     
                    <td>
                      <i class="far fa-arrow-alt-circle-up" style="background:green"></i>
                 
                      <select class="" id = "businesstype" name="businesstype" placeholder="Business Type" disabled>
                                                <option value="" disabled selected>Business Type-</option>
                                                 #foreach($bt in $businessTypes))
                                                 
                                        
                                      #if($pob.getBusinessType() == $bt)
                                                <option value="$bt" selected>$bt</option>
                                          #else
                                                <option value="$bt">$bt</option>
                                          #end
                                          #end
                                          
                                          
                             </select>
                             
                                  <a href="#" class="addKyc" data-id = "$pob.getId()">Add Kyc</a>
                    </td>
                   #else
                    <td>
                    <i class="far fa-arrow-alt-circle-down" style="background:red"></i>
                      <select class="" id = "" name="businesstype" disabled>
                                                <option value="" selected>-Business Type-</option>
                                                 #foreach($bt in $businessTypes))
                               
                                                <option value="$bt">$bt</option>
                                        
                                          #end
                                </select>
                    </td>
                   #end
                   
                      #if($pob.getKyc() && $pob.getKyc() != 0)
                        <td class="kyc docfile">
                        <i class="far fa-arrow-alt-circle-up" style="background:green"></i>
                            <input type="hidden" class="kychidden" value="$pob.getKyc()">
                            <input type="file" class="kyc" placeholder="KYC (legal)" disabled name="kyc1"
                                   value="$pob.getKyc()">
                            ##<button type="button" class="btn btn-primary download-kyc-file" data-docpid="$pob.getKyc()" data-id="$pob.getId()">Download Document</button>
                            <a href="${rc.contextPath}/download-attachment?documentId=$pob.getKyc()" class="download">Download Doc</a>
                             <a href="#" style="padding: 49px;" class="Del">Delete Doc</a>
                             
                        </td>
                    #else
                        <td class="kyc docfile"><i class="far fa-arrow-alt-circle-down" style="background:pink;"></i>
                            <input type="hidden">
                            <input type="file" id="kyc" placeholder="KYC (SM)" disabled name="kyc1">
                        </td>
                    #end
                   
                  <td>
                        <button type="submit" form="form1" value="Submit" style="background:#008CBA; color:black;"
                                class="submit-legal">
                            Submit
                        </button>
                    </td>