Subversion Repositories SmartDukaan

Rev

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

Rev 19516 Rev 19723
Line 761... Line 761...
761
		PdfPTable addressTable = new PdfPTable(1);
761
		PdfPTable addressTable = new PdfPTable(1);
762
		addressTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
762
		addressTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
763
		addressTable.getDefaultCell().setHorizontalAlignment(Element.ALIGN_LEFT);
763
		addressTable.getDefaultCell().setHorizontalAlignment(Element.ALIGN_LEFT);
764
		
764
		
765
		PdfPCell addressCell = getAddressCell(shippingLocation.getLocation() +
765
		PdfPCell addressCell = getAddressCell(shippingLocation.getLocation() +
766
				" - " + shippingLocation.getPincode() + "\nContact No.- +91-9811247808" + "\n\n");
766
				" - " + shippingLocation.getPincode() + "\nContact No.- +91-9818116289" + "\n\n");
767
 
767
 
768
		PdfPTable chargesTable = new PdfPTable(1);
768
		PdfPTable chargesTable = new PdfPTable(1);
769
		chargesTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
769
		chargesTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
770
		chargesTable.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
770
		chargesTable.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
771
		if(order.isLogisticsCod()){
771
		if(order.isLogisticsCod()){
Line 1185... Line 1185...
1185
		
1185
		
1186
		PdfPTable logoTable = new PdfPTable(2);
1186
		PdfPTable logoTable = new PdfPTable(2);
1187
		addLogoTable(logoTable,order); 
1187
		addLogoTable(logoTable,order); 
1188
		
1188
		
1189
 
1189
 
1190
		Paragraph sorlAddress = new Paragraph(ourAddress + "\n Contact No.- +91-9811247808" + "\nTIN NO. " + tinNo, new Font(FontFamily.TIMES_ROMAN, 8f, Element.ALIGN_CENTER));
1190
		Paragraph sorlAddress = new Paragraph(ourAddress + "\n Contact No.- +91-9818116289" + "\nTIN NO. " + tinNo, new Font(FontFamily.TIMES_ROMAN, 8f, Element.ALIGN_CENTER));
1191
		PdfPCell sorlAddressCell = new PdfPCell(sorlAddress);
1191
		PdfPCell sorlAddressCell = new PdfPCell(sorlAddress);
1192
		sorlAddressCell.addElement(sorlAddress);
1192
		sorlAddressCell.addElement(sorlAddress);
1193
		sorlAddressCell.setHorizontalAlignment(Element.ALIGN_LEFT);
1193
		sorlAddressCell.setHorizontalAlignment(Element.ALIGN_LEFT);
1194
 
1194
 
1195
		PdfPTable customerAddress = getCustomerAddressTable(order, null, true, helvetica8, true, false);
1195
		PdfPTable customerAddress = getCustomerAddressTable(order, null, true, helvetica8, true, false);
Line 1226... Line 1226...
1226
		
1226
		
1227
		PdfPCell disclaimerCell = new PdfPCell(new Phrase("Goods once sold will not be taken back.\nAll disputes subject to Delhi Jurisdiction.\nThis is a Computer generated Invoice.", helvetica8));
1227
		PdfPCell disclaimerCell = new PdfPCell(new Phrase("Goods once sold will not be taken back.\nAll disputes subject to Delhi Jurisdiction.\nThis is a Computer generated Invoice.", helvetica8));
1228
		disclaimerCell.setHorizontalAlignment(Element.ALIGN_LEFT);
1228
		disclaimerCell.setHorizontalAlignment(Element.ALIGN_LEFT);
1229
		disclaimerCell.setBorder(Rectangle.NO_BORDER);
1229
		disclaimerCell.setBorder(Rectangle.NO_BORDER);
1230
		
1230
		
1231
		PdfPCell regAddressCell = new PdfPCell(new Phrase(" SPICE ONLINE RETAIL PRIVATE LIMITED\n Regd. Add. 60-D, STREET NO. C-5, SAINIK FARMS,NEW DELHI-110062\n CIN: U74140DL2008PTC183856 Tel. No. +91-9811247808 E-mail. help@saholic.com Website. www.saholic.com", helvetica6));
1231
		PdfPCell regAddressCell = new PdfPCell(new Phrase(" SPICE ONLINE RETAIL PRIVATE LIMITED\n Regd. Add. 60-D, STREET NO. C-5, SAINIK FARMS,NEW DELHI-110062\n CIN: U74140DL2008PTC183856 Tel. No. +91-9818116289 E-mail. help@saholic.com Website. www.saholic.com", helvetica6));
1232
		regAddressCell.setHorizontalAlignment(Element.ALIGN_LEFT);
1232
		regAddressCell.setHorizontalAlignment(Element.ALIGN_LEFT);
1233
		regAddressCell.setBorder(Rectangle.NO_BORDER);
1233
		regAddressCell.setBorder(Rectangle.NO_BORDER);
1234
		/*SPICE ONLINE RETAIL PRIVATE LIMITED
1234
		/*SPICE ONLINE RETAIL PRIVATE LIMITED
1235
		Regd. Add. 60-D, STREET NO. C-5, SAINIK FARMS,NEW DELHI-110062
1235
		Regd. Add. 60-D, STREET NO. C-5, SAINIK FARMS,NEW DELHI-110062
1236
		CIN: U74140DL2008PTC183856
1236
		CIN: U74140DL2008PTC183856