Subversion Repositories SmartDukaan

Rev

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

Rev 33795 Rev 34516
Line 220... Line 220...
220
 
220
 
221
        var offerType = $("#offerType").val();
221
        var offerType = $("#offerType").val();
222
 
222
 
223
		var schemePayout = $("#schemePayout").val();
223
		var schemePayout = $("#schemePayout").val();
224
 
224
 
-
 
225
		var additionalInfo = $("#additionalInfo").val();
-
 
226
 
225
 
227
 
226
		if (dealerPayout === "") {
228
		if (dealerPayout === "") {
227
			alert("Dealer Payout is required");
229
			alert("Dealer Payout is required");
228
			return;
230
			return;
229
		}
231
		}
Line 242... Line 244...
242
 
244
 
243
			"catalogId": currentItem,
245
			"catalogId": currentItem,
244
			"dealerPayout": dealerPayout,
246
			"dealerPayout": dealerPayout,
245
            "offerType": offerType,
247
            "offerType": offerType,
246
			"schemePayout": schemePayout,
248
			"schemePayout": schemePayout,
-
 
249
			"additionalInfo": additionalInfo,
247
			"startDate": getDatesFromPicker('input[name="offerItemDuration"]').startDate,
250
			"startDate": getDatesFromPicker('input[name="offerItemDuration"]').startDate,
248
			"endDate": getDatesFromPicker('input[name="offerItemDuration"]').endDate,
251
			"endDate": getDatesFromPicker('input[name="offerItemDuration"]').endDate,
249
			"offerId": offerId
252
			"offerId": offerId
250
 
253
 
-
 
254
 
251
		}
255
		}
252
 
256
 
253
 
257
 
254
 
258
 
255
		if (confirm("Are you sure you want to create offer!") == true) {
259
		if (confirm("Are you sure you want to create offer!") == true) {