Subversion Repositories SmartDukaan

Rev

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

<section class="wrapper">            
        <div class="row">
                <div class="col-lg-12">
                        <h3 class="page-header"><i class="icon_document_alt"></i>#springMessage("reportspricedrop.pricedrops")
                        </h3>
                        <ol class="breadcrumb">
                                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">#springMessage("reportspricedrop.home")</a></li>
                                <li><i class="icon_document_alt"></i>#springMessage("reportspricedrop.pricedrops")
</li>                                                   
                        </ol>
                </div>
        </div>
        <div class="row col-lg-12"  style="float: right;">
                
                  
                 
                  #springMessage("reportspricedrop.from")  <input type="date" id="startDate-price-drop-report" placeholder=""   name="" value="$startDate" >
                     
                   #springMessage("reportspricedrop.to") <input type="date" id="endDate-price-drop-report" placeholder=""  value="$endDate">
                        
                        <button type="submit" class="download-price-drop-report">#springMessage("reportspricedrop.downloadreport") </button>
                </div>
    <div class="col-lg-12">
        <table class="table table-border table-condensed table-bordered" id="priceDropReportTbl" style="width:100%">

            <thead class="row htable" style="background:#F5F5F5;">
            <tr style="color:black;">
            
                     <th>#springMessage("reportspricedrop.code")</th>
                     <th>#springMessage("reportspricedrop.pricedropid")</th>
                    <th>#springMessage("reportspricedrop.brand")</th>
                         <th>#springMessage("reportspricedrop.modelname")</th>
                        
                         <th>#springMessage("reportspricedrop.modelnumber")</th>
                         <th>#springMessage("reportspricedrop.affectedon")</th>
                     <th>#springMessage("reportspricedrop.amount")</th>
                         <th>#springMessage("reportspricedrop.partnerpayout")</th>
                      
                         <th>#springMessage("reportspricedrop.imei")</th>
                         <th>#springMessage("reportspricedrop.status")</th>
                         <th>#springMessage("reportspricedrop.processedon")</th>
                         <th>#springMessage("reportspricedrop.reason")</th>
                        
                        
              </tr>
            </thead>
            <tbody>
                #foreach($pdr in $priceDropReports )
               <tr>
                    <td>$pdr.getCode()</td>
                    <td>$pdr.getId()</td>
                    <td>$pdr.getBrand()</td>
                     <td>$pdr.getModelName()</td>
                   
                    <td>$pdr.getModelNumber()</td>
                    <td>$pdr.getAffectedOn().format($dateTimeFormatter)</td>
                    <td>$pdr.getAmount()</td>
                     <td>$pdr.getPartnerPayout()</td>
                  
                    <td>$pdr.getImei()</td>
                    <td>$pdr.getStatus()</td>

                    
                    #if($pdr.getUpdateTimestamp())
                    <td>$pdr.getUpdateTimestamp().format($datehiphenFormatter)</td>
                    #else
                    <td>-- </td>
                    #end
                    
                    #if($pdr.getRejectionReason())
                    <td>$pdr.getRejectionReason()</td>
                    
                    #else
                    <td>-- </td>
                    #end
                    
               </tr>
                #end

            </tbody>

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



<script>

        var dtable = $('#priceDropReportTbl').DataTable(
                {
                    "scrollX": true,
                    "bPaginate": true,
                    "bLengthChange": true,
                    "bFilter": true,
                    "bInfo": false,
                    "bAutoWidth": false,
                  
                     
     });
  
   
    
    </script>