Subversion Repositories SmartDukaan

Rev

Rev 32909 | 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("reportsbillingstatement.smartdukaanbillingstatement")
                        </h3>
                        <ol class="breadcrumb">
                                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">#springMessage("reportsbillingstatement.home")</a></li>
                                <li><i class="icon_document_alt"></i>#springMessage("reportsbillingstatement.smartdukaanbillingstatement")
</li>                                                   
                        </ol>
                </div>
        </div>
        <div class="row col-lg-12"  style="float: right;">
                
                  
                 
                  #springMessage("reportsbillingstatement.from")  <input type="date" id="startDate-partner-billing-report" placeholder=""   name="" value="$startDate" >
                     
                   #springMessage("reportsbillingstatement.to") <input type="date" id="endDate-partner-billing-report" placeholder=""  value="$endDate">
                        
                        <button type="submit" class="download-partner-billing-report">#springMessage("reportsbillingstatement.downloadreport") </button>
                        <button type="submit" class="billing-summary-fetch-report">Fetch Report</button>
                </div>
    <div class="col-lg-12">
        <table class="table table-border table-condensed table-bordered" id="partnerBillingSummaryReports" style="width:100%">

            <thead class="row htable" style="background:#F5F5F5;">
            <tr style="color:black;">
                    <th>#springMessage("reportsbillingstatement.orderid")</th>
                     <th>#springMessage("reportsbillingstatement.creationdate") </th>
                    <th>#springMessage("reportsbillingstatement.billingdate")</th>
                         <th>#springMessage("reportsbillingstatement.deliveredon")</th>
                         <th>#springMessage("reportsbillingstatement.scannedinon")</th>
                         <th>#springMessage("reportsbillingstatement.transactionid")</th>
                         
                         <th>#springMessage("reportsbillingstatement.masterorderid")</th>
                         <th>#springMessage("reportsbillingstatement.airwaybillno")</th>
                         <th>#springMessage("reportsbillingstatement.statussubgroupp")</th>
                         <th>#springMessage("reportsbillingstatement.statusname")</th>
                         <th>#springMessage("reportsbillingstatement.customerid")</th>
                         
                          <th>#springMessage("reportsbillingstatement.customername")</th>
                         <th>#springMessage("reportsbillingstatement.itemid")</th>
                         <th>#springMessage("reportsbillingstatement.brand")</th>
                    <th>#springMessage("reportsbillingstatement.modelname")</th>
                         <th>#springMessage("reportsbillingstatement.modelnumber")</th>
                         
                         <th>#springMessage("reportsbillingstatement.color")</th>
                         <th>#springMessage("reportsbillingstatement.sellingprice")</th>
                         <th>#springMessage("reportsbillingstatement.quantity")</th>
                         <th>#springMessage("reportsbillingstatement.totalprice")</th>
                         <th>#springMessage("reportsbillingstatement.invoicenumber")</th>
                         <th>Seller Name</th>
                         <th>Gst Number</th>
                          <th>Hsn Code</th>

                           
                           <th>#springMessage("reportsbillingstatement.igstrate")</th>
                           <th>#springMessage("reportsbillingstatement.cgstrate")</th>
                           <th>#springMessage("reportsbillingstatement.sgstrate")</th>
                        
              </tr>
            </thead>
            <tbody>
                #foreach($pbsr in $partnerBillingSummaryReports )
               <tr>
                    <td>$pbsr.getId()</td>
                    <td>$pbsr.getCreateTimestamp().format($datehiphenFormatter)</td>
                    
                    #if($pbsr.getBillingTimestamp())
                    <td>$pbsr.getBillingTimestamp().format($datehiphenFormatter)</td>
                    #else
                    <td>--</td>
                    #end
                    
                    #if($pbsr.getDeliveryTimestamp())
                    <td>$pbsr.getDeliveryTimestamp().format($datehiphenFormatter)</td>
                    
                    #else
                    <td>--</td>
                    #end
                    #if($pbsr.getPartnerGrnTimestamp())
                      <td>$pbsr.getPartnerGrnTimestamp().format($datehiphenFormatter)</td>
                      #else
                      <td>--</td>
                      #end
                      
                      <td>$pbsr.getTransactionId()</td>
                    <td>$pbsr.getLogisticsTransactionId()</td>
                    <td>$pbsr.getAirwayBillNumber()</td>
                    <td>$pbsr.getStatusSubGroup()</td>
                    <td>$pbsr.getStatusName()</td>
                    
                    <td>$pbsr.getRetailerId()</td>
                    <td>$pbsr.getRetailerName()</td>
                    <td>$pbsr.getItemId()</td>
                    <td>$pbsr.getBrand()</td>
                    <td>$pbsr.getModelName()</td>
                    
                    
                    <td>$pbsr.getModelNumber()</td>
                    <td>$pbsr.getColor()</td>
                    <td>$pbsr.getUnitPrice()</td>
                    <td>$pbsr.getQuantity()</td>
                    <td>$pbsr.getTotalPrice()</td>
                    
                    
                    <td>$pbsr.getInvoiceNumber()</td>
                    <td>$pbsr.getSellerName()</td>
                    <td>$pbsr.getGstNumber()</td>
                    <td>$pbsr.getHsnCode()</td>
                    <td>$pbsr.getIgstRate()</td>
                    <td>$pbsr.getCgstRate()</td>
                      <td>$pbsr.getSgstRate()</td>
                   
                    
                
               </tr>
                #end

            </tbody>

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



<script>

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