Subversion Repositories SmartDukaan

Rev

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

Rev 32256 Rev 32258
Line 570... Line 570...
570
 
570
 
571
			doPostAjaxRequestWithJsonHandler(context
571
			doPostAjaxRequestWithJsonHandler(context
572
				+ "/createGrn", JSON
572
				+ "/createGrn", JSON
573
					.stringify(grnItemArray), function(response) {
573
					.stringify(grnItemArray), function(response) {
574
						if (response == 'true') {
574
						if (response == 'true') {
575
							doAjaxGetDownload(context + "/generateDebitNote?invoiceId=" + invoiceId, function(response) {
-
 
576
 
-
 
577
								//Download PDF code
575
							alert("successfully done");
578
							});
576
							loadNewReceiveInvoice("main-content");
579
						}
577
						}
580
					});
578
					});
581
		}
579
		}
582
 
580
 
583
 
581