Subversion Repositories SmartDukaan

Rev

Rev 27549 | Rev 27579 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
26418 tejbeer 1
<section>
2
 
3
 
26475 amit.gupta 4
<!--<style>
26418 tejbeer 5
	.table-striped > tbody > tr:nth-child(odd) > td{
6
  		background: white;
7
  		background-color: white;
8
	}
9
	.table-striped > tbody > tr:nth-child(even) > td{
10
  		background: white;
11
  		background-color:white;
12
	}
13
	.table-striped > tbody > tr:hover > td,
14
	.table-striped > tbody > tr:hover {
15
		background-color: #e98c8f;
16
	  	color:white;
17
	}
18
	.btn:hover{
19
  		color: grey;
20
  		text-decoration: none;
21
	}
22
	.btn-primary:hover{
23
  		color: grey;
24
  		text-decoration: none;
25
	}
26
	.sale-details{
27
		cursor:pointer;
28
	}
27549 tejbeer 29
 
30
	thead input {
31
        width: 50%;
32
    }
26475 amit.gupta 33
</style>-->
26418 tejbeer 34
 
35
<section class="wrapper">
36
	<div class="row">
37
		<div class="col-lg-12">
38
			<h3 class="page-header"><i class="icon_document_alt"></i>Details</h3>
39
			<ol class="breadcrumb">
40
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
41
				<li><i class="icon_document_alt"></i>Auth User Detail</li>					  	
42
			</ol>
43
		</div>
44
	</div>
45
 
46
 
47
<div class="row">
48
 
27549 tejbeer 49
				<div class="col-lg-12">
50
				 <table id="authretailerstats" class="table table-striped table-advance table-hover" style="width:100%">
26477 amit.gupta 51
				 <thead>
26418 tejbeer 52
	    				<tr>
27545 tejbeer 53
	    				<th>Stores</th>
27548 tejbeer 54
	    				<th>Category</th>
55
	    				<th>Manager</th>
26418 tejbeer 56
	    				<th>lmtd</th>
57
	    				<th>mtd</th>
27548 tejbeer 58
	    				<th>sale diff</th>
27545 tejbeer 59
	    			    <th>Wallet Amount</th>
26418 tejbeer 60
	    				<th>In Stock Investment</th>
61
	    				<th>Total Investment</th>
27548 tejbeer 62
	    				<th>Short Investment</th>
27545 tejbeer 63
	    				<th>Indent Value</th>
64
	    				<th>Today Tertiary</th>
65
	    				<th>last 3 days Tertiary</th>
26418 tejbeer 66
	    				<th>Ticket</th>
67
	    				</tr>
26477 amit.gupta 68
				 </thead>
69
	    			<tbody>
26418 tejbeer 70
	    			    #foreach($name in $fofoIdAndallValues.keySet())
71
	    				<tr>
27548 tejbeer 72
	    	 		     <td>$fofoIdAndPartnerMap.get($name).getBusinessName()  ($fofoIdAndPartnerMap.get($name).getAddress().getCity())</td>
73
	    	 		     <td>$fofoIdAndallValues.get($name).getPartnerType()</td>
27545 tejbeer 74
	    	 		     <td>$fofoIdAndallValues.get($name).getAuthUser()</td>
26418 tejbeer 75
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getLmtd()</td>
76
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getMtd()</td>
27550 tejbeer 77
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getSaleDiff()</td>
27545 tejbeer 78
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getWalletAmount()</td>
26478 amit.gupta 79
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getInvestment().getInStockAmount()</td>
80
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getInvestment().getTotalInvestment()</td>
27548 tejbeer 81
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getInvestment().getShortInvestment()</td>
27545 tejbeer 82
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getInvestment().getUnbilledAmount()</td>
27549 tejbeer 83
		                 <td>$fofoIdAndallValues.get($name).getTodayTertiary()</td>
84
		                 <td>$fofoIdAndallValues.get($name).getLastThreeDaytertiary()</td>  
26418 tejbeer 85
		                 <td>$fofoIdAndallValues.get($name).getTicket()</td>
86
	    				</tr>
87
	    				 #end
88
 
89
	    		    </tbody>
90
	    		</table>
91
						</div>
92
 
93
 
94
			</div>
95
 
96
 
26475 amit.gupta 97
</section>
98
<script type="text/javascript">
27549 tejbeer 99
 
100
 
26475 amit.gupta 101
$(document).ready(function() {
27549 tejbeer 102
 
103
    $('#authretailerstats thead tr').clone(true).appendTo( '#authretailerstats thead' );
104
    $('#authretailerstats thead tr:eq(1) th').each( function (i) {
105
        var title = $(this).text();
106
        $(this).html( '<input type="text" style = "width:60%;" placeholder="Search '+title+'" />' );
107
 
108
        $( 'input', this ).on( 'keyup change', function () {
109
            if ( table.column(i).search() !== this.value ) {
110
                table
111
                    .column(i)
112
                    .search( this.value )
113
                    .draw();
114
            }
115
        } );
116
    } )
117
  var table = $('#authretailerstats').DataTable( {
118
        orderCellsTop: true,
119
        fixedHeader: true
120
    } );
26476 amit.gupta 121
});
26475 amit.gupta 122
</script>