Subversion Repositories SmartDukaan

Rev

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

Rev 8106 Rev 8107
Line 267... Line 267...
267
 
267
 
268
		PdfPTable table = new PdfPTable(1);
268
		PdfPTable table = new PdfPTable(1);
269
		table.getDefaultCell().setBorder(Rectangle.NO_BORDER);
269
		table.getDefaultCell().setBorder(Rectangle.NO_BORDER);
270
		
270
		
271
		PdfPTable titleBarTable = new PdfPTable(new float[]{0.4f, 0.4f, 0.2f});
271
		PdfPTable titleBarTable = new PdfPTable(new float[]{0.4f, 0.4f, 0.2f});
-
 
272
		titleBarTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
272
		
273
		
273
		PdfPTable logoTable = new PdfPTable(2);
274
		PdfPTable logoTable = new PdfPTable(2);
274
		addLogoTable(logoTable,order); 
275
		addLogoTable(logoTable,order); 
275
		
276
		
276
		PdfPCell titleCell = getTitleCell();
277
		PdfPCell titleCell = getTitleCell();
Line 579... Line 580...
579
		Phrase phrase = null;
580
		Phrase phrase = null;
580
		taxTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
581
		taxTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
581
		taxTable.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
582
		taxTable.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
582
		
583
		
583
		PdfPTable logoTitleAndOurAddressTable = new PdfPTable(new float[]{0.4f, 0.6f});
584
		PdfPTable logoTitleAndOurAddressTable = new PdfPTable(new float[]{0.4f, 0.6f});
-
 
585
		logoTitleAndOurAddressTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
584
		PdfPTable titleAndSolrAddressTable= new PdfPTable(1);
586
		PdfPTable titleAndSolrAddressTable= new PdfPTable(1);
-
 
587
		titleAndSolrAddressTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
-
 
588
		
585
		PdfPTable logoTable = new PdfPTable(2);
589
		PdfPTable logoTable = new PdfPTable(2);
586
		addLogoTable(logoTable,order); 
590
		addLogoTable(logoTable,order); 
587
		
591
		
588
		if (order.getOrderType().equals(OrderType.B2B)) {
592
		if (order.getOrderType().equals(OrderType.B2B)) {
589
			phrase = new Phrase("TAX INVOICE", helveticaBold12);
593
			phrase = new Phrase("TAX INVOICE", helveticaBold12);