Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
24739 tejbeer 1
<style>
2
	.table-striped > tbody > tr:nth-child(odd) > td{
3
  background: white;
4
  background-color: white;
5
}
6
.table-striped > tbody > tr:nth-child(even) > td{
7
  background: white;
8
  background-color:white;
9
}
10
.table-striped > tbody > tr:hover > td,
11
	.table-striped > tbody > tr:hover {
12
	  background-color: #e98c8f;
13
	  color:white;
14
	}
15
	.btn:hover{
16
  	color: grey;
17
  	text-decoration: none;
18
	}
19
	.btn-primary:hover{
20
  	color: grey;
21
  	text-decoration: none;
22
	}
23
	.add-to-bag{
24
		cursor:pointer;
25
	}
26
	modal-dialog.modal-lg{
27
		left:10%;
28
		right:auto;
29
		width:80%;
30
	}
31
	.modal-content{
32
		background : white;
33
	}
34
	.modelHeaderCustom{
35
		font-size:14px;
36
		font-weight:bold;
37
	}
38
	hr{
39
		background-color:#007aff;
40
		border:none;
41
		height:1px;
42
		background:#007aff;
43
	}
44
	tr.selected{background-color:#B0BED9}
45
</style>
46
<section class="wrapper">
47
	<div class="row">
48
		<div class="col-lg-12">
49
			<h3 class="page-header"><i class="icon_genius"></i>KEEP A TAB</h3>
50
			<ol class="breadcrumb">
51
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
52
				<li><i class="icon_genius"></i>Keep A Tab</li>
53
			</ol>
54
		</div>
55
	</div>
56
 
57
 
58
 <div class="row">
59
	<h4 class="modelHeaderCustom" style="font-size:22px;">Keep A Tab Order</h4>
60
	    		<div class="col-lg-12" id="catalog-container">
61
	    			<table class="table table-border table-condensed table-bordered" id="keep-a-tab-table">
62
		    			<thead>
63
				            <tr>
64
								<th>Item Id</th>
65
	    						<th>OrderId</th>
66
	    						<th>Description</th>
67
	    						<th>Customer Name </th>
68
	    						<th>Mobile</th>
69
	    						<th>Amount</th>
70
	    						<th>Refund Timestamp</th>
71
	    						<th>Close</th>
72
	    					</tr>
73
 
74
				        </thead>
75
	    				<tbody>
76
 
77
	    				#if(!$order.isEmpty())
78
		    					 #foreach($taborder in $keepatab )
79
		    					 	<tr>
80
 
81
	    							     <td>$taborder.getLineItem().getItemId()</td>
82
		    					       	<td>$taborder.getId()</td>
83
		    					 		<td>$taborder.getLineItem().getItem().getItemDescription()</td>
84
		    					 		<td>$taborder.getRetailerName()</td>
85
                                        <td>$taborder.getRetailerMobileNumber()</td>		
86
                                        <td>$taborder.getTotalAmount()</td>	
87
                                        #if($taborder.getRefundTimestamp())
88
                                         <td>$taborder.getRefundTimestamp()</td>	
89
                                        #else
90
                                        <td>null</td>
91
                                        #end
92
                                         <td><button class="btn btn-primary closeOrder"  data-orderid="$taborder.getId()" type="button" >Close</button>
93
								     </td>
94
 
95
	    					</tr>
96
	    					#end
97
	    					#end
98
	    				</tbody>
99
	    			</table>
100
	    		</div>
101
	    		</div>
102
 
103
	    	</section>	
104
 
105
 
106
 <script type="text/javascript">
107
  $(document).ready(function() { 
108
 var dtable =  $('#keep-a-tab-table').DataTable(
109
  {
110
 
111
    "bPaginate": true,
112
    "bLengthChange": true,
113
    "bFilter": true,
114
    "bInfo": false,
115
    "bAutoWidth": false ,
116
 
117
    }
118
 
119
  );
120
  });
121
  </script>
122
 
123