Subversion Repositories SmartDukaan

Rev

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

Rev 28420 Rev 28437
Line 29... Line 29...
29
 
29
 
30
			backdrop : false
30
			backdrop : false
31
		});
31
		});
32
 
32
 
33
	});
33
	});
-
 
34
 
-
 
35
	$(".change-partner-po").click(function() {
-
 
36
		$("#changePartnerOnlineOrder").modal({
-
 
37
 
-
 
38
			backdrop : false
-
 
39
		});
-
 
40
 
-
 
41
	});
34
</script>
42
</script>
35
 
43
 
36
 
44
 
37
<div id="pending-order-table">
45
<div id="pending-order-table">
38
	<div class="row">
46
	<div class="row">
Line 62... Line 70...
62
						<th>Cancelled On</th>
70
						<th>Cancelled On</th>
63
						<th>Remarks</th>
71
						<th>Remarks</th>
64
						<th>Availability</th>
72
						<th>Availability</th>
65
						<th>Verify</th>
73
						<th>Verify</th>
66
						<th>Cancel</th>
74
						<th>Cancel</th>
67
 
-
 
-
 
75
						<th>Change Partner</th>
68
 
76
 
69
					</tr>
77
					</tr>
70
				</thead>
78
				</thead>
71
				<tbody>
79
				<tbody>
72
					#if(!$pendingOrderItem.isEmpty()) #foreach( $request in
80
					#if(!$pendingOrderItem.isEmpty()) #foreach( $request in
Line 127... Line 135...
127
						<td>
135
						<td>
128
							<button class="btn btn-primary cancel-order-item"
136
							<button class="btn btn-primary cancel-order-item"
129
								data-poitemid="$request.getId()" type="button"
137
								data-poitemid="$request.getId()" type="button"
130
								data-toggle="modal" data-target="#cancelOnlineOrder"
138
								data-toggle="modal" data-target="#cancelOnlineOrder"
131
								style="width: 100%; border-radius: 0px;">Cancel</button>
139
								style="width: 100%; border-radius: 0px;">Cancel</button>
132
						</td>#else
140
						</td> #else
-
 
141
						<td></td> #end #if($request.getStatus() == "PROCESSING")
-
 
142
						<td>
-
 
143
							<button class="btn btn-primary change-partner"
-
 
144
								data-poid="$request.getId()" type="button" data-toggle="modal"
-
 
145
								data-target="#changePartnerOnlineOrder"
-
 
146
								style="width: 100%; border-radius: 0px;">Change</button>
-
 
147
						</td> #else
133
						<td></td> #end
148
						<td></td> #end
134
 
149
 
135
					</tr>
150
					</tr>
136
					#end
151
					#end
137
					<script type="text/javascript">
152
					<script type="text/javascript">
Line 165... Line 180...
165
		<div class="modal-dialog modal-md">
180
		<div class="modal-dialog modal-md">
166
			<!-- Modal content-->
181
			<!-- Modal content-->
167
			<div class="modal-content" style="width: 700px;"></div>
182
			<div class="modal-content" style="width: 700px;"></div>
168
 
183
 
169
		</div>
184
		</div>
-
 
185
	</div>
-
 
186
</div>
-
 
187
 
-
 
188
<div class="change-partner-online-order-container">
-
 
189
	<div id="changePartnerOnlineOrder" class="modal" role="dialog">
-
 
190
		<div class="modal-dialog modal-md">
-
 
191
			<!-- Modal content-->
-
 
192
			<div class="modal-content" style="width: 700px;"></div>
-
 
193
 
-
 
194
		</div>
170
	</div>
195
	</div>
171
</div>
196
</div>
172
 
197
 
173
 
198
 
174
 
199