Subversion Repositories SmartDukaan

Rev

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

Rev 16196 Rev 17203
Line 644... Line 644...
644
		PdfPTable addressTable = new PdfPTable(1);
644
		PdfPTable addressTable = new PdfPTable(1);
645
		addressTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
645
		addressTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
646
		addressTable.getDefaultCell().setHorizontalAlignment(Element.ALIGN_LEFT);
646
		addressTable.getDefaultCell().setHorizontalAlignment(Element.ALIGN_LEFT);
647
		
647
		
648
		PdfPCell addressCell = getAddressCell(shippingLocation.getLocation() +
648
		PdfPCell addressCell = getAddressCell(shippingLocation.getLocation() +
649
				" - " + shippingLocation.getPincode() + "\nContact No.- 0120-2479977" + "\n\n");
649
				" - " + shippingLocation.getPincode() + "\nContact No.- +91-9811247808" + "\n\n");
650
 
650
 
651
		PdfPTable chargesTable = new PdfPTable(1);
651
		PdfPTable chargesTable = new PdfPTable(1);
652
		chargesTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
652
		chargesTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
653
		chargesTable.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
653
		chargesTable.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
654
		if(order.isLogisticsCod()){
654
		if(order.isLogisticsCod()){
Line 1048... Line 1048...
1048
		}
1048
		}
1049
		PdfPCell retailInvoiceTitleCell = new PdfPCell(phrase);
1049
		PdfPCell retailInvoiceTitleCell = new PdfPCell(phrase);
1050
		retailInvoiceTitleCell.setHorizontalAlignment(Element.ALIGN_CENTER);
1050
		retailInvoiceTitleCell.setHorizontalAlignment(Element.ALIGN_CENTER);
1051
		retailInvoiceTitleCell.setBorder(Rectangle.NO_BORDER);
1051
		retailInvoiceTitleCell.setBorder(Rectangle.NO_BORDER);
1052
 
1052
 
1053
		Paragraph sorlAddress = new Paragraph(ourAddress + "\n Contact No.- 0120-2479977" + "\nTIN NO. " + tinNo, new Font(FontFamily.TIMES_ROMAN, 8f, Element.ALIGN_CENTER));
1053
		Paragraph sorlAddress = new Paragraph(ourAddress + "\n Contact No.- +91-9811247808" + "\nTIN NO. " + tinNo, new Font(FontFamily.TIMES_ROMAN, 8f, Element.ALIGN_CENTER));
1054
		PdfPCell sorlAddressCell = new PdfPCell(sorlAddress);
1054
		PdfPCell sorlAddressCell = new PdfPCell(sorlAddress);
1055
		sorlAddressCell.addElement(sorlAddress);
1055
		sorlAddressCell.addElement(sorlAddress);
1056
		sorlAddressCell.setHorizontalAlignment(Element.ALIGN_LEFT);
1056
		sorlAddressCell.setHorizontalAlignment(Element.ALIGN_LEFT);
1057
 
1057
 
1058
		PdfPTable customerAddress = getCustomerAddressTable(order, null, true, helvetica8, true);
1058
		PdfPTable customerAddress = getCustomerAddressTable(order, null, true, helvetica8, true);
Line 1071... Line 1071...
1071
		
1071
		
1072
		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));
1072
		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));
1073
		disclaimerCell.setHorizontalAlignment(Element.ALIGN_LEFT);
1073
		disclaimerCell.setHorizontalAlignment(Element.ALIGN_LEFT);
1074
		disclaimerCell.setBorder(Rectangle.NO_BORDER);
1074
		disclaimerCell.setBorder(Rectangle.NO_BORDER);
1075
		
1075
		
1076
		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. 0120-2479977 E-mail. help@saholic.com Website. www.saholic.com", helvetica6));
1076
		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));
1077
		regAddressCell.setHorizontalAlignment(Element.ALIGN_LEFT);
1077
		regAddressCell.setHorizontalAlignment(Element.ALIGN_LEFT);
1078
		regAddressCell.setBorder(Rectangle.NO_BORDER);
1078
		regAddressCell.setBorder(Rectangle.NO_BORDER);
1079
		/*SPICE ONLINE RETAIL PRIVATE LIMITED
1079
		/*SPICE ONLINE RETAIL PRIVATE LIMITED
1080
		Regd. Add. 60-D, STREET NO. C-5, SAINIK FARMS,NEW DELHI-110062
1080
		Regd. Add. 60-D, STREET NO. C-5, SAINIK FARMS,NEW DELHI-110062
1081
		CIN: U74140DL2008PTC183856
1081
		CIN: U74140DL2008PTC183856