Subversion Repositories SmartDukaan

Rev

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

Rev 20770 Rev 20811
Line 918... Line 918...
918
	}
918
	}
919
 
919
 
920
	private PdfPTable getProviderTable(Order order, Provider provider, Font barCodeFont, double totalWeight) throws TException {
920
	private PdfPTable getProviderTable(Order order, Provider provider, Font barCodeFont, double totalWeight) throws TException {
921
		PdfPTable providerInfoTable = new PdfPTable(1);
921
		PdfPTable providerInfoTable = new PdfPTable(1);
922
		providerInfoTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
922
		providerInfoTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
-
 
923
		
-
 
924
		if (provider.getId() ==1L){
-
 
925
			PdfPCell spnCell = new PdfPCell(new Phrase("SPN : 09650099008S", helvetica12));
-
 
926
			spnCell.setHorizontalAlignment(Element.ALIGN_LEFT);
-
 
927
			spnCell.setBorder(Rectangle.NO_BORDER);
-
 
928
			providerInfoTable.addCell(spnCell);
-
 
929
		}
-
 
930
		
923
		if(order.isLogisticsCod()){
931
		if(order.isLogisticsCod()){
924
			PdfPCell deliveryTypeCell = new PdfPCell(new Phrase("COD   ", helvetica22));
932
			PdfPCell deliveryTypeCell = new PdfPCell(new Phrase("COD   ", helvetica22));
925
			deliveryTypeCell.setHorizontalAlignment(Element.ALIGN_RIGHT);
933
			deliveryTypeCell.setHorizontalAlignment(Element.ALIGN_RIGHT);
926
			deliveryTypeCell.setBorder(Rectangle.NO_BORDER);
934
			deliveryTypeCell.setBorder(Rectangle.NO_BORDER);
927
			providerInfoTable.addCell(deliveryTypeCell);
935
			providerInfoTable.addCell(deliveryTypeCell);