Subversion Repositories SmartDukaan

Rev

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

Rev 14072 Rev 14073
Line 507... Line 507...
507
    }
507
    }
508
    
508
    
509
    private static PdfPCell getTotalAmountCell(int colspan, double totalAmount){
509
    private static PdfPCell getTotalAmountCell(int colspan, double totalAmount){
510
    	PdfPCell totalCell = new PdfPCell(new Phrase(BigDecimal.valueOf(totalAmount).toPlainString(), helvetica8));
510
    	PdfPCell totalCell = new PdfPCell(new Phrase(BigDecimal.valueOf(totalAmount).toPlainString(), helvetica8));
511
        totalCell.setColspan(colspan);
511
        totalCell.setColspan(colspan);
-
 
512
        totalCell.setHorizontalAlignment(Element.ALIGN_RIGHT);
512
        return totalCell; 
513
        return totalCell; 
513
    }
514
    }
514
 
515
 
515
}
516
}