Subversion Repositories SmartDukaan

Rev

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

Rev 27548 Rev 27549
Line 24... Line 24...
24
  		text-decoration: none;
24
  		text-decoration: none;
25
	}
25
	}
26
	.sale-details{
26
	.sale-details{
27
		cursor:pointer;
27
		cursor:pointer;
28
	}
28
	}
-
 
29
	
-
 
30
	thead input {
-
 
31
        width: 50%;
-
 
32
    }
29
</style>-->
33
</style>-->
30
 
34
 
31
<section class="wrapper">
35
<section class="wrapper">
32
	<div class="row">
36
	<div class="row">
33
		<div class="col-lg-12">
37
		<div class="col-lg-12">
Line 40... Line 44...
40
	</div>
44
	</div>
41
 
45
 
42
 
46
 
43
<div class="row">
47
<div class="row">
44
					
48
					
45
					<div class="col-lg-12">
49
				<div class="col-lg-12">
46
				 <table id="authretailerstats" class="table table-striped table-advance table-hover">
50
				 <table id="authretailerstats" class="table table-striped table-advance table-hover" style="width:100%">
47
				 <thead>
51
				 <thead>
48
	    				<tr>
52
	    				<tr>
49
	    				<th>Stores</th>
53
	    				<th>Stores</th>
50
	    				<th>Category</th>
54
	    				<th>Category</th>
51
	    				<th>Manager</th>
55
	    				<th>Manager</th>
Line 54... Line 58...
54
	    				<th>sale diff</th>
58
	    				<th>sale diff</th>
55
	    			    <th>Wallet Amount</th>
59
	    			    <th>Wallet Amount</th>
56
	    				<th>In Stock Investment</th>
60
	    				<th>In Stock Investment</th>
57
	    				<th>Total Investment</th>
61
	    				<th>Total Investment</th>
58
	    				<th>Short Investment</th>
62
	    				<th>Short Investment</th>
59
	    				<th>Indent Qty</th>
-
 
60
	    				<th>Indent Value</th>
63
	    				<th>Indent Value</th>
61
	    				<th>Today Tertiary</th>
64
	    				<th>Today Tertiary</th>
62
	    				<th>last 3 days Tertiary</th>
65
	    				<th>last 3 days Tertiary</th>
63
	    				<th>Ticket</th>
66
	    				<th>Ticket</th>
64
	    				</tr>
67
	    				</tr>
Line 74... Line 77...
74
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getDiffenceLmtdMtd()</td>
77
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getDiffenceLmtdMtd()</td>
75
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getWalletAmount()</td>
78
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getWalletAmount()</td>
76
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getInvestment().getInStockAmount()</td>
79
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getInvestment().getInStockAmount()</td>
77
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getInvestment().getTotalInvestment()</td>
80
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getInvestment().getTotalInvestment()</td>
78
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getInvestment().getShortInvestment()</td>
81
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getInvestment().getShortInvestment()</td>
79
	    	 		     <td>$fofoIdAndallValues.get($name).getInvestment().getUnbilledQty()</td>
-
 
80
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getInvestment().getUnbilledAmount()</td>
82
	    	 		     <td class="currency">$fofoIdAndallValues.get($name).getInvestment().getUnbilledAmount()</td>
81
		                 <td>$fofoIdAndallValues.get($name).getLastOneDayTertiary()</td>
83
		                 <td>$fofoIdAndallValues.get($name).getTodayTertiary()</td>
82
		                 <td>$fofoIdAndallValues.get($name).getLastThreeDaytertiary()</td>
84
		                 <td>$fofoIdAndallValues.get($name).getLastThreeDaytertiary()</td>  
83
		               
-
 
84
		                 <td>$fofoIdAndallValues.get($name).getTicket()</td>
85
		                 <td>$fofoIdAndallValues.get($name).getTicket()</td>
85
	    				</tr>
86
	    				</tr>
86
	    				 #end
87
	    				 #end
87
	    				
88
	    				
88
	    		    </tbody>
89
	    		    </tbody>
Line 93... Line 94...
93
			</div>
94
			</div>
94
					
95
					
95
 
96
 
96
</section>
97
</section>
97
<script type="text/javascript">
98
<script type="text/javascript">
-
 
99
 
-
 
100
 
98
$(document).ready(function() {
101
$(document).ready(function() {
-
 
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
    } )
99
    indentTable = $('#authretailerstats').DataTable();
117
  var table = $('#authretailerstats').DataTable( {
-
 
118
        orderCellsTop: true,
-
 
119
        fixedHeader: true
-
 
120
    } );
100
});
121
});
101
</script>
122
</script>
102
123