Subversion Repositories SmartDukaan

Rev

Rev 26039 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
26039 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>	NOTIFIED CANCEL ORDER</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>Notified Cancel Order</li>
53
			</ol>
54
		</div>
55
	</div>
56
 
57
 
58
 <div class="row">
59
	    		<div class="col-lg-12" id="catalog-container">
60
	    			<table class="table table-border table-condensed table-bordered" id="notify-cancel-status-table">
61
		    			<thead>
62
				            <tr>
63
								<th>itemId</th>
64
	    						<th>OrderId</th>
65
	    						<th>ItemDescription</th>
66
	    						<th>Customer Name </th>
67
	    						<th>Created Timestamp </th>
68
	    						<th>Updated Timestamp </th>
69
	    						<th>change </th>
70
 
71
 
72
 
73
	    					</tr>
74
 
75
				        </thead>
76
	    				<tbody>
77
 
78
	    				#if(!$notifyCancels.isEmpty())
79
		    					 #foreach($taborder in $notifyCancels)
80
		    					 	<tr>
81
 
82
	    							    <td>$taborder.getItemId()</td>
83
		    					       	<td>$taborder.getOrderId()</td>
84
		    					 		<td>$itemdescription.get($taborder.getItemId())</td>
85
		    					 		<td>$fofoIdsAndRetailerName.get($taborder.getFofoId()).getBusinessName()</td>	
86
                                        <td>$taborder.getCreatedTimestamp().format($dateTimeFormatter)</td>	
87
                                        <td>$taborder.getUpdatedTimestamp().format($dateTimeFormatter)</td>
88
                                       <td><button class="btn btn-primary notifyCancelList"  onclick="getNotifyCancelItems($taborder.getItemId(),$taborder.getOrderId())" data-toggle="modal" data-target="#notifyCancelOrderList" type="button" >Update </button>
89
 
90
 
91
 
92
 
93
	    					</tr>
94
	    					#end
95
	    					#end
96
	    				</tbody>
97
	    			</table>
98
	    		</div>
99
	    		</div>
100
 
101
 
102
	<div class="notify-cancel-order-Items-container">
26320 tejbeer 103
    <div  class="modal text-center" id="notifyCancelOrderList">
26039 tejbeer 104
	<div class="modal-dialog">
105
    <div class="modal-content" style="width:900px;">
106
 
107
 
108
    </div>
109
    </div>
110
    </div>
111
    </div>
112
</section>	
113
 
114
 
115
 <script type="text/javascript">
116
  $(document).ready(function() { 
117
 var dtable =  $('#notify-cancel-status-table').DataTable(
118
  {
119
 
120
    "bPaginate": true,
121
    "bLengthChange": true,
122
    "bFilter": true,
123
    "bInfo": false,
124
    "bAutoWidth": false ,
125
 
126
    }
127
 
128
  );
129
  });
130
  </script>