Subversion Repositories SmartDukaan

Rev

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

Rev 33367 Rev 33400
Line 194... Line 194...
194
				return false;
194
				return false;
195
			}
195
			}
196
 
196
 
197
		});
197
		});
198
 
198
 
-
 
199
	$(document).on('click', ".claimed-payment",
-
 
200
		function () {
-
 
201
 
-
 
202
			var orderItemId = $(this).data('poitemid');
-
 
203
			if (confirm("Are you sure you want to add this payment to retailer wallet!!") == true) {
-
 
204
				doPostAjaxRequestHandler(context
-
 
205
					+ "/onlinePaymentAddToPartnerWallet?id="
-
 
206
					+ orderItemId, function (response) {
-
 
207
					if (response == 'true') {
-
 
208
						alert("successfully verified");
-
 
209
						$('.online-order-submit').click();
-
 
210
 
-
 
211
					}
-
 
212
				});
-
 
213
 
-
 
214
				return false;
-
 
215
			}
-
 
216
 
-
 
217
		});
-
 
218
 
199
	$(document).on('click', ".cancel-order-item",
219
	$(document).on('click', ".cancel-order-item",
200
		function() {
220
		function() {
201
 
221
 
202
			var orderItemId = $(this).data('poitemid');
222
			var orderItemId = $(this).data('poitemid');
203
			doGetAjaxRequestHandler(context
223
			doGetAjaxRequestHandler(context