Subversion Repositories SmartDukaan

Rev

Rev 28599 | Rev 28615 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<link href="https://cdn.datatables.net/fixedcolumns/3.3.0/css/fixedColumns.bootstrap.css" rel="stylesheet"/>

<section class="wrapper">
    <div class="row">
        <div class="col-lg-12">
            <h3 class="page-header"><i class="icon_document_alt"></i>DESIGN TAT COMPLETED</h3>
            <ol class="breadcrumb">
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
                <li><i class="icon_document_alt"></i>Design TAT Completed</li>
            </ol>
        </div>
    </div>
    <div class="col-lg-12">
        <table class="table table-border table-condensed table-bordered" id="OnboardingDesignCompleted" style="width:100%">

            <thead class="row htable" style="background:#F5F5F5;">

            <tr style="color:black;">
                <th>Id</th>
                <th>Outlet Name(SM)</th>
                <th>Created On</th>
                <th>Acquired Date()</th>
                <th>Outlet Name(SM)</th>
                <th>Phone Number(SM)</th>
                
                <th>City (SM)</th>
                <th>State Head(SM)</th>
                <th>BDM (SM)</th>
                <th>Agreed Brand fees(SM)</th>
                <th>Received Brand fees(SM)</th>
                <th>Final Brand fees(SM)</th>
                <th>Inauguration Date(SM)</th>
                <th>LOI(legal)</th>
                <th>Kyc(SM)</th>
                <th>Code(legal)</th>
                <th>Recee Planed(Sunil)</th>
                <th>Recee Actual(Sunil)</th>
                <th>2D with BOQ Planed(Sunil)</th>
                <th>2D with BOQ Actual(Sunil)</th>
                <th>2D with BOQ(Sunil)</th>
                <th>3D with BOQ Planed (Sunil)</th>
                <th>3D with BOQ Actual (Sunil)</th>
                <th>3D with BOQ (Sunil)</th>
                <th>PO Vendor Planed Date (Sunil)</th>
                <th>PO Vendor Date (Sunil)</th>
                <th>PO Vendor (Sunil)</th>
                <th>Briefing  Partner Planed Date (Sunil)</th>
                <th>Briefing  Partner Actual Date (Sunil)</th>
                <th>Deployment Planed Date (Sunil)</th>
                <th>Deployment Actual Date (Sunil)</th>
                <th>Final Pics OutLets Planed Date (Sunil)</th>
                <th>Final Pics OutLets Date (Sunil)</th>
                <th>Final Pics OutLets (Sunil)</th>
                <th>NOC Date(Sunil)</th>
                 <th>NOC (Sunil)</th>
         
              
            </tr>
            </thead>
            <tbody>
                #foreach($pob in $user )
                <tr>
                 
                    #if($pob.getId())
                        <td style="background:#87cefa;">$pob.getId()</td>
                    #else
                        <td>$pob.getId()</td>
                    #end
                   
                      #if($pob.getOutLetName() && $pob.getOutLetName() != "")
                        <td style="background:lime;"><input type="text" placeholder="OutLet Name" value="$pob.getOutLetName()" name="outlateName"
                                   disabled></td>
                    #else
                        <td style="background:pink;"><input type="text" placeholder="OutLet Name" name="outlateName" disabled></td>
                    #end
                   
                    #if($pob.getCreatedTimestamp())
                        <td style="background:lime;">$pob.getCreatedTimestamp().format($datehiphenFormatter)</td>
                        #else
                        <td style="background:pink;">
                        </td>
                     #end 
                    
                    
                    #if($pob.getAcquiredDate())
                        <td style="background:lime;"><input type="date" class="acquired" placeholder="Acquired Date(SM)" disabled
                                   name="acquireddate"
                                   value="$pob.getAcquiredDate().format($datehiphenFormatter)"></td>
                    #else
                        <td style="background:pink;"><input type="date" class="acquired" placeholder="Acquired Date(SM)" disabled
                                   name="acquireddate">
                        </td>
                    #end 
                    
                    #if($pob.getOutLetName() && $pob.getOutLetName() != "")
                        <td style="background:lime;"><input type="text" placeholder="OutLet Name" value="$pob.getOutLetName()" name="outlateName"
                                   disabled></td>
                    #else
                        <td style="background:pink;"><input type="text" placeholder="OutLet Name" name="outlateName" disabled></td>
                    #end
                   
                    #if($pob.getPhoneNumber() && $pob.getPhoneNumber() != 0)
                        <td style="background:lime;">
                        <input type="number" placeholder="9999999999" value="$pob.getPhoneNumber()"
                                   name="phonenumber1"
                                   disabled ></td>
                    #else
                        <td style="background:pink;"><input type="number" placeholder="9999999999" name="phonenumber1" disabled></td>
                    #end
                    
                   

                    #if($pob.getCity() && $pob.getCity() != "")
                        <td style="background:lime;"><input type="text" placeholder="City (SM)" disabled name="city1" value="$pob.getCity()"></td>
                    #else
                        <td style="background:pink;"><input type="text" placeholder="City (SM)" disabled name="city1"></td>
                    #end
                    #if($pob.getStateHead() && $pob.getStateHead() != "")
                        <td style="background:lime;"><input type="text" placeholder="State Head(SM)" disabled name="shead1"
                                   value="$pob.getStateHead()"></td>
                    #else
                        <td style="background:pink;"><input type="text" placeholder="State Head(SM)" disabled name="shead1"></td>
                    #end
                    #if($pob.getBDM() && $pob.getBDM() != "")
                        <td style="background:lime;"><input type="text" placeholder="BDM (SM)" disabled name="bdm1" value="$pob.getBDM()"></td>
                    #else
                        <td style="background:pink;"><input type="text" placeholder="BDM (SM)" disabled name="bdm1"></td>
                    #end
                   
                    #if($pob.getAgreedBrandFees() != 0)
                        <td style="background:lime;"><input type="text" placeholder="Agreed Brand fees(SM)" disabled name="abrand1"
                                   value="$pob.getAgreedBrandFees()" ></td>
                    #else
                        <td style="background:pink;"><input type="text" placeholder="Agreed Brand fees(SM)" disabled name="abrand1"></td>
                    #end
                    
                    #if($pob.getReceivedBrandFees()!= 0)

                        <td #if($pob.getReceivedBrandFees()< $pob.getAgreedBrandFees())style="background:red;" #else style="background:lime;" #end><input type="text" placeholder="Received Brand fees" disabled name="recbrand1"
                                   value="$pob.getReceivedBrandFees()"></td>
                    #else
                        <td style="background:pink;"><input type="text" placeholder="Received Brand fees" disabled name="recbrand1"></td>
                    #end
                       
                     #if($pob.getFinalBrandFeesDate())

                        <td style="background:lime;"><input type="date" placeholder="Brand fees Date(SM)" disabled name="BrandFeesdate1" id="brandfeesdate"
                                   value="$pob.getFinalBrandFeesDate().format($datehiphenFormatter)"
                                   ></td>
                    #else
                        <td style="background:pink;"><input type="date" placeholder="Brand Fees Date(SM)" disabled name="BrandFeesdate1"></td>
                    #end
                  
                  

                    #if($pob.getInvestmentDate())

                        <td style="background:lime;"><input type="date" placeholder="Investment Date(SM)" disabled name="idate1" id="idate"
                                   value="$pob.getInvestmentDate().format($datehiphenFormatter)"
                                   ></td>
                    #else
                        <td style="background:pink;"><input type="date" placeholder="Investment Date(SM)" disabled name="idate1"></td>
                    #end
                    
                    
                     #if($pob.getLOI() && $pob.getLOI() != 0)
                        <td class="loiDesign docfile" style="background:lime;">
                            <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="Del">Delete Doc</a>
                       
                        </td>
                      #else
                      
                        <td class="loiDesign docfile" style="background:pink;">
                         <input type="hidden" class="loiHidden">
                        <input type="file" placeholder="LOI(SM)" disabled name="loi1">
                        </td>
                      #end
                    
                    #if($pob.getKyc() && $pob.getKyc() != 0)
                        <td class="kycDesign docfile" style="background:lime;">
                            <input type="hidden" class="kychidden" value="$pob.getKyc()">
                            <input type="file" class="kyc" placeholder="KYC (SM)" 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="kycDesign docfile" style="background:pink;">
                            <input type="hidden">
                            <input type="file" id="kyc" placeholder="KYC (SM)" disabled name="kyc1">
                        </td>
                    #end
                   
                    #if($pob.getCode() && $pob.getCode() != "")
                        <td style="background:lime;"><input type="text" placeholder="Code(SM)" disabled name="code1" value="$pob.getCode()"
                                   ></td>
                    #else
                        <td style="background:pink;"><input type="text" placeholder="Code(SM)" disabled name="code1"></td>
                    #end
                    
                    #if($pob.getReceeActual())
                        <td style="background:lime;"><input type="date" id="rplaned" placeholder="Recee Planed(Kamini)" disabled name="rplaned1"
                                   value="$pob.getReceePlaned().format($datehiphenFormatter)" >
                        </td>
                    #else
                        <td style="background:red;"><input type="date" id="rplaned" placeholder="Recee Planed(Kamini)" disabled name="rplaned1" value="$pob.getReceePlaned().format($datehiphenFormatter)">
                        </td>
                    #end
                   #if($pob.getReceeActual())
                        <td style="background:lime;"><input type="date" id="ractual" placeholder="Recee Actual(Kamini)" disabled name="ractual1"
                                   value="$pob.getReceeActual().format($datehiphenFormatter)" >
                        </td>
                    #else
                        <td style="background:pink;"><input type="date" id="ractual" placeholder="Recee Actual(Kamini)" disabled name="ractual1">
                        </td>
                    #end
                    #if($pob.getTwoDBoqdate() &&  $pob.getTwodBOQ() != 0)
                        <td style="background:lime;"><input type="date" id="TwoDBoqdate" placeholder="Two D Boqdate (Kamini)" disabled name="ractual1"
                                   value="$pob.getTwoDBoqPlanedDate().format($datehiphenFormatter)" >
                        </td>
                    #else
                        <td style="background:red;"><input type="date" id="TwoDBoqdate" placeholder="Two D Boqdate(Kamini)" disabled name="ractual1" value="$pob.getTwoDBoqPlanedDate().format($datehiphenFormatter)">
                        </td>
                    #end
                    
                     #if($pob.getTwoDBoqdate())
                        <td style="background:lime;"><input type="date" id="actualTwoDBoqdate" placeholder="Two D Boqdate (Kamini)" disabled name="ractual1"
                                   value="$pob.getTwoDBoqdate().format($datehiphenFormatter)" >
                        </td>
                    #else
                        <td style="background:pink;"><input type="date" id="actualTwoDBoqdate" placeholder="Two D Boqdate(Kamini)" disabled name="ractual1">
                        </td>
                    #end
                    
                    
                     #if($pob.getTwodBOQ() &&  $pob.getTwodBOQ() != 0)
                        <td class="twoDBoq docfile" style="background:lime;">
                            <input type="hidden" class="twoDBoqHidden" value="$pob.getTwodBOQ()">
                            <input type="file" class="twoDBoqDoc" placeholder="2D with BOQ" disabled  value="$pob.getTwodBOQ()">
                            <a href="${rc.contextPath}/download-attachment?documentId=$pob.getTwodBOQ()" class="download">Download Doc</a>
                       <a href="#" style="padding: 49px;" class="Del">Delete Doc</a>
                      #else
                       <td class="twoDBoq docfile" style="background:pink;">
                         <input type="hidden">
                        <input type="file" placeholder="2D with BOQ" disabled name="3d1">
                        </td>
                      #end 
                        #if($pob.getThreeDBoq() && $pob.getThreeDBoq() !=0 )
                        <td style="background:lime;"><input type="date" id="threeDBoqdate" placeholder="3D Boqdate" disabled name="threeBOQDate1"
                                   value="$pob.getThreeDBoqPlanedDate().format($datehiphenFormatter)" >
                        </td>
                    #else
                        <td style="background:red;"><input type="date" id="threeDBoqdate" placeholder="Two D Boqdate(Kamini)" disabled name="threeBOQDate1" value="$pob.getThreeDBoqPlanedDate().format($datehiphenFormatter)">
                        </td>
                    #end
                    
                    #if($pob.getThreeDBoqdate() )
                        <td style="background:lime;"><input type="date" id="threeDBoqdate" placeholder="3D Boqdate" disabled name="threeBOQDate1"
                                   value="$pob.getThreeDBoqdate().format($datehiphenFormatter)" >
                        </td>
                    #else
                        <td style="background:pink;"><input type="date" id="threeDBoqdate" placeholder="Two D Boqdate(Kamini)" disabled name="threeBOQDate1">
                        </td>
                    #end
                    
                     #if($pob.getThreeDBoq() && $pob.getThreeDBoq() !=0 )
                        <td class="threeDBoq docfile" style="background:lime;">
                            <input type="hidden" class="threeDBoqHidden" value="$pob.getThreeDBoq()">
                            <input type="file" class="threeDBoqDoc" placeholder="3D with BOQ" disabled  value="$pob.getThreeDBoq()">
                            <a href="${rc.contextPath}/download-attachment?documentId=$pob.getThreeDBoq()" class="download">Download Doc</a>
                       <a href="#" style="padding: 49px;" class="Del">Delete Doc</a>
                      #else
                       <td class="threeDBoq docfile" style="background:pink;">
                         <input type="hidden">
                        <input type="file" placeholder="3D with BOQ" disabled name="3d1">
                        </td>
                      #end 
                      
                      
                      
                      #if($pob.getPoVendor() && $pob.getPoVendor() !=0)
                        <td style="background:lime;"><input type="date" id="poVenderDate" placeholder="PO Vender Date" disabled name="poVenderDate1"
                                   value="$pob.getPoVenderPlanedDate().format($datehiphenFormatter)" >
                        </td>
                    #else
                        <td style="background:red;"><input type="date" id="poVenderDate" placeholder="po Vender" disabled name="poVenderDate1" value="$pob.getPoVenderPlanedDate().format($datehiphenFormatter)">
                        </td>
                    #end
                    
                     #if($pob.getPoVenderDate())
                        <td style="background:lime;"><input type="date" id="poVenderDate" placeholder="PO Vender Date" disabled name="poVenderDate1"
                                   value="$pob.getPoVenderDate().format($datehiphenFormatter)" >
                        </td>
                    #else
                        <td style="background:pink;"><input type="date" id="poVenderDate" placeholder="po Vender" disabled name="poVenderDate1" >
                        </td>
                    #end
                    
                     #if($pob.getPoVendor() && $pob.getPoVendor() !=0)
                        <td class="poVendor docfile" style="background:lime;">
                            <input type="hidden" class="poVendorHidden" value="$pob.getPoVendor()">
                            <input type="file" class="poVendorDoc" placeholder="PO Vendor" disabled  value="$pob.getPoVendor()">
                            <a href="${rc.contextPath}/download-attachment?documentId=$pob.getPoVendor()" class="download">Download Doc</a>
                       <a href="#" style="padding: 49px;" class="Del">Delete Doc</a>
                      #else
                       <td class="poVendor docfile" style="background:pink;">
                         <input type="hidden">
                        <input type="file" placeholder="PO Vendor" disabled name="poVender1">
                        </td>
                      #end 
                      
                      #if($pob.getBriefingPartner())
                        <td style="background:lime;"><input type="date" id="briefingPartnerPlanedDate" placeholder="Briefing Partner Planed" disabled name="briefingPartnerPlanedDate1"
                                   value="$pob.getBriefingPartnerPlaned().format($datehiphenFormatter)" >
                        </td>
                    #else
                        <td style="background:red;"><input type="date" id="briefingPartnerPlanedDate" placeholder="Briefing Partner Planed" disabled name="briefingPartnerPlanedDate1" value="$pob.getBriefingPartnerPlaned().format($datehiphenFormatter)">
                        </td>
                    #end
                                    
                    #if($pob.getBriefingPartner())
                        <td style="background:lime;"><input type="date" id="briefingPartner" placeholder="Briefing Partner" disabled name="briefPartner1"
                                   value="$pob.getBriefingPartner().format($datehiphenFormatter)" >
                        </td>
                    #else
                        <td style="background:pink;"><input type="date" id="briefingPartner" placeholder="Briefing Partner" disabled name="briefPartner1">
                        </td>
                    #end
                      
                      #if($pob.getDeploymentDate())
                        <td style="background:lime;"><input type="date" id="deploymentPlanedDate" placeholder="Deployment Planed Date" disabled name="deploymentPlanedDate"
                                   value="$pob.getDeploymentPlanedDate().format($datehiphenFormatter)" >
                        </td>
                    #else
                        <td style="background:red;"><input type="date" id="deploymentPlanedDate" placeholder="Deployment Planed Date" disabled name="deploymentPlanedDate" value="$pob.getDeploymentPlanedDate().format($datehiphenFormatter)">
                        </td>
                    #end
                      
                      
                    #if($pob.getDeploymentDate())
                        <td style="background:lime;"><input type="date" id="deploymentActualDate" placeholder="Deployment Actual Date" disabled name="deploymentPlanedDate1"
                                   value="$pob.getDeploymentDate().format($datehiphenFormatter)" >
                        </td>
                    #else
                        <td style="background:pink;"><input type="date" id="deploymentActualDate" placeholder="Deployment Actual Date" disabled name="deploymentPlanedDate1">
                        </td>
                    #end 
                    
                    
                     #if($pob.getFinalPicsOutlet() && $pob.getFinalPicsOutlet() != 0)
                        <td style="background:lime;"><input type="date" id="finalPicsOutLetsDate" placeholder="Final Pics OutLets" disabled name="FinalPicsOutLets"
                                   value="$pob.getFinalPicsOutletPlanedDate().format($datehiphenFormatter)" >
                        </td>
                    #else
                        <td style="background:red;"><input type="date" id="finalPicsOutLetsDate" placeholder="Final Pics OutLets" disabled name="FinalPicsOutLets" value="$pob.getFinalPicsOutletPlanedDate().format($datehiphenFormatter)">
                        </td>
                    #end
                    
                    #if($pob.getFinalPicsOutletDate())
                        <td style="background:lime;"><input type="date" id="finalPicsOutLetsDate" placeholder="Final Pics OutLets" disabled name="FinalPicsOutLets"
                                   value="$pob.getFinalPicsOutletDate().format($datehiphenFormatter)" >
                        </td>
                    #else
                        <td style="background:pink;"><input type="date" id="finalPicsOutLetsDate" placeholder="Final Pics OutLets" disabled name="FinalPicsOutLets" >
                        </td>
                    #end
                      
                      #if($pob.getFinalPicsOutlet() && $pob.getFinalPicsOutlet() != 0)
                        <td class="finalPics docfile" style="background:lime;">
                            <input type="hidden" class="finalPicsHidden" value="$pob.getFinalPicsOutlet()">
                            <input type="file" class="finalPicsDoc" placeholder="Final Pics" disabled  value="$pob.getFinalPicsOutlet()">
                            <a href="${rc.contextPath}/download-attachment?documentId=$pob.getFinalPicsOutlet()" class="download">Download Doc</a>
                       <a href="#" style="padding: 49px;" class="Del">Delete Doc</a>
                      #else
                       <td class="finalPics docfile" style="background:pink;">
                         <input type="hidden">
                        <input type="file" placeholder="finalPics Vendor" disabled name="finalPics1">
                        </td>
                      #end  
                    
                     #if($pob.getNocDate())
                        <td style="background:lime;"><input type="date" id="nocDate" placeholder="NOC" disabled name="noc1"
                                   value="$pob.getNocDate().format($datehiphenFormatter)" >
                        </td>
                    #else
                        <td style="background:pink;"><input type="date" id="noc" placeholder="NOC" disabled name="noc1">
                        </td>
                    #end
                    
                     #if($pob.getNoc() && $pob.getNoc() != 0)
                        <td class="noc docfile" style="background:lime;">
                            <input type="hidden" class="nocDocHiddend" value="$pob.getNoc()">
                            <input type="file" class="nocDoc" placeholder="NOC Docs" disabled  value="$pob.getNoc()">
                            <a href="${rc.contextPath}/download-attachment?documentId=$pob.getNoc()" class="download">Download Doc</a>
                       <a href="#" style="padding: 49px;" class="Del">Delete Doc</a>
                      #else
                       <td class="noc docfile" style="background:pink;">
                         <input type="hidden">
                        <input type="file" placeholder="Noc File" disabled name="noc1">
                        </td>
                      #end
                      
                    

                    
                </tr>
                #end

            </tbody>

        </table>
    </div>
</section>

<script>

        var dtable = $('#OnboardingDesignCompleted').DataTable(
                {

                    "bPaginate": true,
                    "bLengthChange": true,
                    "bFilter": true,
                    "bInfo": false,
                    "bAutoWidth": false,
                    "scrollX": true,
                 
                   fixedColumns:   {
            leftColumns: 2
        },
                });
  
   
    
    </script>