Subversion Repositories SmartDukaan

Rev

Rev 30183 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
30164 manish 1
<section class="wrapper">            
2
	<div class="row">
3
		<div class="col-lg-12">
4
			<h3 class="page-header"><i class="icon_document_alt"></i>Smartdukaan Billing statement
5
			</h3>
6
			<ol class="breadcrumb">
7
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
8
				<li><i class="icon_document_alt"></i>Smartdukaan Billing statement
9
</li>						  	
10
			</ol>
11
		</div>
12
	</div>
13
	<div class="row col-lg-12"  style="float: right;">
14
 
15
 
16
 
17
		  From  <input type="date" id="startDate-partner-billing-report" placeholder=""   name="" value="$startDate" >
18
 
19
		   To <input type="date" id="endDate-partner-billing-report" placeholder=""  value="$endDate">
20
 
21
			<button type="submit" class="download-partner-billing-report">Download Report </button>
22
		</div>
23
    <div class="col-lg-12">
24
        <table class="table table-border table-condensed table-bordered" id="partnerBillingSummaryReports" style="width:100%">
25
 
26
            <thead class="row htable" style="background:#F5F5F5;">
27
            <tr style="color:black;">
28
                    <th>OrderId</th> 
29
                     <th>CREATION_DATE </th>
30
                    <th>BILLING_DATE</th>
31
	                 <th>DELIVERED_ON</th>
32
	                 <th>SCANNED_IN_ON</th>
33
	                 <th>Transaction_id</th>
34
 
35
	                 <th>master_order_id</th>
36
	                 <th>airwaybill_no</th>
37
	                 <th>statusSubGroupp</th>
38
	                 <th>statusName</th>
39
	                 <th>customer_id</th>
40
 
41
	                  <th>customer_name</th>
42
	                 <th>Item_Id</th>
43
	                 <th>brand</th>
44
                    <th>model_name</th>
45
	                 <th>model_number</th>
46
 
47
	                 <th>color</th>
48
	                 <th>selling_price</th>
49
	                 <th>Quantity</th>
50
	                 <th>total_price</th>
51
	                 <th>invoice_number</th>
52
 
53
	                   <th>igstrate</th>
54
	                   <th>cgstrate</th>
55
	                   <th>sgstrate</th>
56
 
57
              </tr>
58
            </thead>
59
            <tbody>
60
                #foreach($pbsr in $partnerBillingSummaryReports )
61
               <tr>
62
                    <td>$pbsr.getId()</td>
63
                    <td>$pbsr.getCreateTimestamp()</td>
64
 
65
                    #if($pbsr.getBillingTimestamp())
66
                    <td>$pbsr.getBillingTimestamp()</td>
67
                    #else
68
                    <td>--</td>
69
                    #end
70
 
71
                    #if($pbsr.getDeliveryTimestamp())
72
                    <td>$pbsr.getDeliveryTimestamp()</td>
73
 
74
                    #else
75
                    <td>--</td>
76
                    #end
77
                    #if($pbsr.getPartnerGrnTimestamp())
78
                      <td>$pbsr.getPartnerGrnTimestamp()</td>
79
                      #else
80
                      <td>--</td>
81
                      #end
82
 
83
                      <td>$pbsr.getTransactionId()</td>
84
                    <td>$pbsr.getLogisticsTransactionId()</td>
85
                    <td>$pbsr.getAirwayBillNumber()</td>
86
                    <td>$pbsr.getStatusSubGroup()</td>
87
                    <td>$pbsr.getStatusName()</td>
88
 
89
                    <td>$pbsr.getRetailerId()</td>
90
                    <td>$pbsr.getRetailerName()</td>
91
                    <td>$pbsr.getItemId()</td>
92
                    <td>$pbsr.getBrand()</td>
93
                    <td>$pbsr.getModelName()</td>
94
 
95
 
96
                    <td>$pbsr.getModelNumber()</td>
97
                    <td>$pbsr.getColor()</td>
98
                    <td>$pbsr.getUnitPrice()</td>
99
                    <td>$pbsr.getQuantity()</td>
100
                    <td>$pbsr.getTotalPrice()</td>
101
 
102
 
103
                    <td>$pbsr.getInvoiceNumber()</td>
104
                    <td>$pbsr.getIgstRate()</td>
105
                    <td>$pbsr.getCgstRate()</td>
106
                      <td>$pbsr.getSgstRate()</td>
107
 
108
 
109
 
110
               </tr>
111
                #end
112
 
113
            </tbody>
114
 
115
        </table>
116
    </div>
117
 
118
</section>
119
 
120
 
121
 
122
<script>
123
 
124
        var dtable = $('#partnerBillingSummaryReports').DataTable(
125
                {
126
                    "scrollX": true,
127
                    "bPaginate": true,
128
                    "bLengthChange": true,
129
                    "bFilter": true,
130
                    "bInfo": false,
131
                    "bAutoWidth": false,
132
 
133
 
134
     });
135
 
136
 
137
 
138
    </script>
139