Subversion Repositories SmartDukaan

Rev

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

Rev 26442 Rev 26821
Line 115... Line 115...
115
				tableCustomerRetailer.setWidthPercentage(90);
115
				tableCustomerRetailer.setWidthPercentage(90);
116
				tableCustomerRetailer.getDefaultCell().setBorder(Rectangle.NO_BORDER);
116
				tableCustomerRetailer.getDefaultCell().setBorder(Rectangle.NO_BORDER);
117
				PdfPCell columnCustomerInfo = new PdfPCell();
117
				PdfPCell columnCustomerInfo = new PdfPCell();
118
				columnCustomerInfo.addElement(new Paragraph("Customer Details", FONT_BOLD));
118
				columnCustomerInfo.addElement(new Paragraph("Customer Details", FONT_BOLD));
119
				columnCustomerInfo.addElement(new Paragraph(
119
				columnCustomerInfo.addElement(new Paragraph(
120
						StringUtils.capitalize(customer.getAddress().getName()), FONT_NORMAL));
120
						StringUtils.capitalize(customer.getAddress().getName() + 
-
 
121
								(customer.getAddress().getLastName()==null?"" : " " + customer.getAddress().getLastName())), 
-
 
122
						FONT_NORMAL));
121
				columnCustomerInfo.addElement(new Paragraph(StringUtils.capitalize(customer.getAddress().getLine1())
123
				columnCustomerInfo.addElement(new Paragraph(StringUtils.capitalize(customer.getAddress().getLine1())
122
						+ ", " + StringUtils.capitalize(customer.getAddress().getLine2()), FONT_NORMAL));
124
						+ ", " + StringUtils.capitalize(customer.getAddress().getLine2()), FONT_NORMAL));
123
				columnCustomerInfo.addElement(new Paragraph(StringUtils.capitalize(customer.getAddress().getCity())
125
				columnCustomerInfo.addElement(new Paragraph(StringUtils.capitalize(customer.getAddress().getCity())
124
						+ ", " + StringUtils.capitalize(customer.getAddress().getState()) + "("
126
						+ ", " + StringUtils.capitalize(customer.getAddress().getState()) + "("
125
						+ pdfModel.getCustomerAddressStateCode() + ")" + "\n" + customer.getAddress().getPinCode(),
127
						+ pdfModel.getCustomerAddressStateCode() + ")" + "\n" + customer.getAddress().getPinCode(),