Subversion Repositories SmartDukaan

Rev

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

Rev 25478 Rev 25840
Line 74... Line 74...
74
			iconImg = Image.getInstance(iconUrl);
74
			iconImg = Image.getInstance(iconUrl);
75
		} catch (Exception e) {
75
		} catch (Exception e) {
76
			e.printStackTrace();
76
			e.printStackTrace();
77
		}
77
		}
78
	}
78
	}
-
 
79
	
-
 
80
	//Debit Note generation logic has been changed
-
 
81
	//Debit Note considers price drops so amount in debit note is current price of item.
-
 
82
	//From 16Nov 2019 onwards all debit notes will be as per actuall billing value, all pricedrops
-
 
83
	//shall be rolledback or cancelled once the debit note is generated.
-
 
84
	
79
 
85
 
80
	public static void generateAndWrite(List<PdfModel> pdfModels, ByteArrayOutputStream outputStream) {
86
	public static void generateAndWrite(List<PdfModel> pdfModels, ByteArrayOutputStream outputStream) {
81
		try {
87
		try {
82
			List<Integer> caneclledPageList = new ArrayList<>();
88
			List<Integer> caneclledPageList = new ArrayList<>();
83
			Document document = new Document();
89
			Document document = new Document();