Subversion Repositories SmartDukaan

Rev

Rev 31416 | Rev 32771 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31416 Rev 31433
Line 1... Line 1...
1
<section class="wrapper">            
1
<section class="wrapper">
2
	<div class="row">
2
    <div class="row">
3
		<div class="col-lg-12">
3
        <div class="col-lg-12">
4
			<h3 class="page-header"><i class="icon_document_alt"></i>SCHEME PAYOUT REPORT</h3>
4
            <h3 class="page-header"><i class="icon_document_alt"></i>SCHEME PAYOUT REPORT</h3>
5
			<ol class="breadcrumb">
5
            <ol class="breadcrumb">
6
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
6
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
7
				<li><i class="icon_document_alt"></i>Scheme PayOut Report</li>						  	
7
                <li><i class="icon_document_alt"></i>Scheme PayOut Report</li>
8
			</ol>
8
            </ol>
9
		</div>
9
        </div>
10
	</div>
10
    </div>
11
		<div class="row col-lg-12"  style="float: right;">
11
    <div class="row col-lg-12" style="float: right;">
12
		
12
 
13
		  	 
13
 
14
		  From  <input type="date" id="startDate-scheme-payout" placeholder=""   name="" value="$startDate" >
14
        From <input type="date" id="startDate-scheme-payout" placeholder="" name="" value="$startDate">
15
		     
15
 
16
		   To <input type="date" id="endDate-scheme-payout" placeholder=""  value="$endDate">
16
        To <input type="date" id="endDate-scheme-payout" placeholder="" value="$endDate">
17
	
17
 
18
			<button type="submit" class="download-scheme-payout-report">Download Report </button>
18
        <button type="submit" class="download-scheme-payout-report">Download Report</button>
19
		</div>
19
    </div>
20
	 
20
 
21
    <div class="col-lg-12">
21
    <div class="col-lg-12">
22
        <table class="table table-border table-condensed table-bordered" id="schemePayoutReportDtable" style="width:100%">
22
        <table class="table table-border table-condensed table-bordered" id="schemePayoutReportDtable"
-
 
23
               style="width:100%">
23
 
24
 
24
            <thead class="row htable" style="background:#F5F5F5;">
25
            <thead class="row htable" style="background:#F5F5F5;">
25
            <tr style="color:black;">
26
            <tr style="color:black;">
26
                 
-
 
-
 
27
 
27
                     <th>serial_number </th>
28
                <th>serial_number</th>
28
                    <th>Brand</th>
29
                <th>Brand</th>
29
	                 <th>Model Name</th>
30
                <th>Model Name</th>
30
	                 <th>Model Number</th>
31
                <th>Model Number</th>
31
	                 
-
 
-
 
32
 
32
	                 <th>Color</th>
33
                <th>Color</th>
33
	                 <th> Scheme_IN_DP</th>
34
                <th> Scheme_IN_DP</th>
34
	                 <th>Scheme_out_dp</th>
35
                <th>Scheme_out_dp</th>
35
	                 <th>Scheme_Id</th>
36
                <th>Scheme_Id</th>
36
	                 
-
 
-
 
37
 
37
	                 <th>Name</th>
38
                <th>Name</th>
38
	                  <th>Type</th>
39
                <th>Type</th>
39
	                
-
 
-
 
40
 
40
	                 <th>Purchase_Invoice</th>
41
                <th>Purchase_Invoice</th>
41
                    
-
 
42
                    
-
 
-
 
42
 
-
 
43
 
43
	                 <th>SALE_INOVOICE</th>
44
                <th>SALE_INOVOICE</th>
44
	                 <th>Amount</th>
45
                <th>Amount</th>
45
	                 <th>status</th>
46
                <th>status</th>
46
	               
47
 
47
	                 <th>description</th>
48
                <th>description</th>
48
	                 <th>create_timestamp</th>
49
                <th>create_timestamp</th>
49
	                 <th>rolled_back_timestamp</th>
50
                <th>rolled_back_timestamp</th>
50
	                
-
 
-
 
51
 
51
              </tr>
52
            </tr>
52
            </thead>
53
            </thead>
53
            <tbody>
54
            <tbody>
54
                #foreach($schemePayoutReport in $schemePayoutReports )
55
                #foreach($schemePayoutReport in $schemePayoutReports )
55
               <tr>
56
                <tr>
56
                    
-
 
-
 
57
 
57
                    #if($schemePayoutReport.getSerialNumber())
58
                    #if($schemePayoutReport.getSerialNumber())
58
                    <td> $schemePayoutReport.getSerialNumber()</td>
59
                        <td> $schemePayoutReport.getSerialNumber()</td>
59
                    #else
60
                    #else
60
                    
-
 
-
 
61
 
61
                    <td>--</td>
62
                        <td>--</td>
62
                    #end
63
                    #end
63
                    <td>$schemePayoutReport.getBrand()</td>
64
                    <td>$schemePayoutReport.getBrand()</td>
64
                    <td>$schemePayoutReport.getModelName()</td>
65
                    <td>$schemePayoutReport.getModelName()</td>
65
                    <td>$schemePayoutReport.getModelNumber()</td>
66
                    <td>$schemePayoutReport.getModelNumber()</td>
66
                  
-
 
67
                  
-
 
-
 
67
 
-
 
68
 
68
                    <td>$schemePayoutReport.getColor()</td>
69
                    <td>$schemePayoutReport.getColor()</td>
69
                    <td>$schemePayoutReport.getSchemeInDp()</td>
70
                    <td>$schemePayoutReport.getSchemeInDp()</td>
70
                    <td>$schemePayoutReport.getSchemeOutDp()</td>
71
                    <td>$schemePayoutReport.getSchemeOutDp()</td>
71
                    <td>$schemePayoutReport.getSchemeId()</td>
72
                    <td>$schemePayoutReport.getSchemeId()</td>
72
                 
-
 
-
 
73
 
73
                    <td>$schemePayoutReport.getName()</td>
74
                    <td>$schemePayoutReport.getName()</td>
74
                    <td>$schemePayoutReport.getType()</td>
75
                    <td>$schemePayoutReport.getType()</td>
75
                    
-
 
-
 
76
 
76
                    <td>$schemePayoutReport.getPurchaseReference()</td>
77
                    <td>$schemePayoutReport.getPurchaseReference()</td>
-
 
78
 
77
                  
79
                    <td>
78
                    <td>$schemePayoutReport.getInvoiceNumber()</td>
80
                        #if($schemePayoutReport.getInvoiceNumber())
-
 
81
                            $schemePayoutReport.getInvoiceNumber()
-
 
82
                        #else
-
 
83
                            -
-
 
84
                        #end
-
 
85
 
79
                 
86
                    </td>
-
 
87
 
80
                    <td>$nf.format($schemePayoutReport.getSioAmount())</td>
88
                    <td>$nf.format($schemePayoutReport.getSioAmount())</td>
81
                    <td>$schemePayoutReport.getStatus()</td>
89
                    <td>$schemePayoutReport.getStatus()</td>
82
                    
-
 
-
 
90
 
83
                    #if($schemePayoutReport.getStatusDescription())
91
                    #if($schemePayoutReport.getStatusDescription())
84
                    <td>$schemePayoutReport.getStatusDescription()</td>
92
                        <td>$schemePayoutReport.getStatusDescription()</td>
85
                    
-
 
-
 
93
 
86
                    #else
94
                    #else
87
                    <td>--</td>
95
                        <td>--</td>
88
                    #end
96
                    #end
89
                    <td>$schemePayoutReport.getCreateTimestamp().format($datehiphenFormatter)</td>
97
                    <td>$schemePayoutReport.getCreateTimestamp().format($datehiphenFormatter)</td>
90
                    
-
 
-
 
98
 
91
                    #if($schemePayoutReport.getRolledBackTimestamp())
99
                    #if($schemePayoutReport.getRolledBackTimestamp())
92
                   
-
 
-
 
100
 
93
                    <td>$schemePayoutReport.getRolledBackTimestamp().format($datehiphenFormatter)</td>
101
                        <td>$schemePayoutReport.getRolledBackTimestamp().format($datehiphenFormatter)</td>
94
                    #else
102
                    #else
95
                    <td> -- </td>
103
                        <td> --</td>
96
                    #end
104
                    #end
97
                    
-
 
98
                    
-
 
99
                   
-
 
-
 
105
 
100
                
106
 
101
               </tr>
107
                </tr>
102
                #end
108
                #end
103
 
109
 
104
            </tbody>
110
            </tbody>
105
 
111
 
106
        </table>
112
        </table>
107
    </div>
113
    </div>
108
	
-
 
109
</section>
-
 
110
 
114
 
-
 
115
</section>
111
 
116
 
112
 
117
 
113
<script>
118
<script>
114
 
119
 
115
        var dtable = $('#schemePayoutReportDtable').DataTable(
120
    var dtable = $('#schemePayoutReportDtable').DataTable(
116
                {
121
            {
117
                    "scrollX": true,
122
                "scrollX": true,
118
                    "bPaginate": true,
123
                "bPaginate": true,
119
                    "bLengthChange": true,
124
                "bLengthChange": true,
120
                    "bFilter": true,
125
                "bFilter": true,
121
                    "bInfo": false,
126
                "bInfo": false,
122
                    "bAutoWidth": false,
127
                "bAutoWidth": false,
-
 
128
 
-
 
129
 
123
                  
130
            });
124
                     
-
 
125
     });
-
 
126
  
131
 
127
   
132
 
128
    
-
 
129
    </script>
133
</script>
130
   
134
   
131
135