Subversion Repositories SmartDukaan

Rev

Rev 30189 | Rev 31433 | 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>SCHEME PAYOUT REPORT</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>Scheme PayOut Report</li>                                                  
                        </ol>
                </div>
        </div>
                <div class="row col-lg-12"  style="float: right;">
                
                         
                  From  <input type="date" id="startDate-scheme-payout" placeholder=""   name="" value="$startDate" >
                     
                   To <input type="date" id="endDate-scheme-payout" placeholder=""  value="$endDate">
        
                        <button type="submit" class="download-scheme-payout-report">Download Report </button>
                </div>
         
    <div class="col-lg-12">
        <table class="table table-border table-condensed table-bordered" id="schemePayoutReportDtable" style="width:100%">

            <thead class="row htable" style="background:#F5F5F5;">
            <tr style="color:black;">
                 
                     <th>serial_number </th>
                    <th>Brand</th>
                         <th>Model Name</th>
                         <th>Model Number</th>
                         
                         <th>Color</th>
                         <th> Scheme_IN_DP</th>
                         <th>Scheme_out_dp</th>
                         <th>Scheme_Id</th>
                         
                         <th>Name</th>
                          <th>Type</th>
                        
                         <th>Purchase_Invoice</th>
                    
                    
                         <th>SALE_INOVOICE</th>
                         <th>Amount</th>
                         <th>status</th>
                       
                         <th>description</th>
                         <th>create_timestamp</th>
                         <th>rolled_back_timestamp</th>
                        
              </tr>
            </thead>
            <tbody>
                #foreach($schemePayoutReport in $schemePayoutReports )
               <tr>
                    
                    #if($schemePayoutReport.getSerialNumber())
                    <td> $schemePayoutReport.getSerialNumber()</td>
                    #else
                    
                    <td>--</td>
                    #end
                    <td>$schemePayoutReport.getBrand()</td>
                    <td>$schemePayoutReport.getModelName()</td>
                    <td>$schemePayoutReport.getModelNumber()</td>
                  
                  
                    <td>$schemePayoutReport.getColor()</td>
                    <td>$schemePayoutReport.getSchemeInDp()</td>
                    <td>$schemePayoutReport.getSchemeOutDp()</td>
                    <td>$schemePayoutReport.getSchemeId()</td>
                 
                    <td>$schemePayoutReport.getName()</td>
                    <td>$schemePayoutReport.getType()</td>
                    
                    <td>$schemePayoutReport.getPurchaseReference()</td>
                  
                    <td>$schemePayoutReport.getInvoiceNumber()</td>
                 
                    <td>$nf.format($schemePayoutReport.getSioAmount())</td>
                    <td>$schemePayoutReport.getStatus()</td>
                    
                    #if($schemePayoutReport.getStatusDescription())
                    <td>$schemePayoutReport.getStatusDescription()</td>
                    
                    #else
                    <td>--</td>
                    #end
                    <td>$schemePayoutReport.getCreateTimestamp().format($datehiphenFormatter)</td>
                    
                    #if($schemePayoutReport.getRolledBackTimestamp())
                   
                    <td>$schemePayoutReport.getRolledBackTimestamp().format($datehiphenFormatter)</td>
                    #else
                    <td> -- </td>
                    #end
                    
                    
                   
                
               </tr>
                #end

            </tbody>

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



<script>

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