| Line 698... |
Line 698... |
| 698 |
addrAndOrderDetailsTable.addCell(orderDetails);
|
698 |
addrAndOrderDetailsTable.addCell(orderDetails);
|
| 699 |
|
699 |
|
| 700 |
boolean isVAT = isVatApplicable(order);
|
700 |
boolean isVAT = isVatApplicable(order);
|
| 701 |
PdfPTable invoiceTable = getBottomInvoiceTable(order, isVAT);
|
701 |
PdfPTable invoiceTable = getBottomInvoiceTable(order, isVAT);
|
| 702 |
|
702 |
|
| - |
|
703 |
PdfPTable regAddAndDisCellTable = new PdfPTable(2);
|
| - |
|
704 |
|
| 703 |
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));
|
705 |
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));
|
| 704 |
disclaimerCell.setHorizontalAlignment(Element.ALIGN_LEFT);
|
706 |
disclaimerCell.setHorizontalAlignment(Element.ALIGN_LEFT);
|
| 705 |
disclaimerCell.setBorder(Rectangle.NO_BORDER);
|
707 |
disclaimerCell.setBorder(Rectangle.NO_BORDER);
|
| 706 |
|
708 |
|
| - |
|
709 |
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\n Tel. No. 0120-2479977\n E-mail. help@saholic.com\n Website. www.saholic.com", helvetica8));
|
| - |
|
710 |
regAddressCell.setHorizontalAlignment(Element.ALIGN_LEFT);
|
| - |
|
711 |
regAddressCell.setBorder(Rectangle.NO_BORDER);
|
| - |
|
712 |
/*SPICE ONLINE RETAIL PRIVATE LIMITED
|
| - |
|
713 |
Regd. Add. 60-D, STREET NO. C-5, SAINIK FARMS,NEW DELHI-110062
|
| - |
|
714 |
CIN: U74140DL2008PTC183856
|
| - |
|
715 |
Tel. No. 0120-2479977
|
| - |
|
716 |
E-mail. help@saholic.com
|
| - |
|
717 |
Website. www.saholic.com*/
|
| 707 |
PdfPCell powerTextCell = new PdfPCell(new Phrase("Powered By Flipkart", helvetica8));
|
718 |
PdfPCell powerTextCell = new PdfPCell(new Phrase("Powered By Flipkart", helvetica8));
|
| 708 |
powerTextCell.setHorizontalAlignment(Element.ALIGN_LEFT);
|
719 |
powerTextCell.setHorizontalAlignment(Element.ALIGN_LEFT);
|
| 709 |
powerTextCell.setBorder(Rectangle.NO_BORDER);
|
720 |
powerTextCell.setBorder(Rectangle.NO_BORDER);
|
| 710 |
powerTextCell.setPaddingBottom(30.0f);
|
721 |
powerTextCell.setPaddingBottom(30.0f);
|
| 711 |
|
722 |
|
| 712 |
logoTitleAndOurAddressTable.addCell(logoTable);
|
723 |
logoTitleAndOurAddressTable.addCell(logoTable);
|
| 713 |
logoTitleAndOurAddressTable.addCell(retailInvoiceTitleCell);
|
724 |
logoTitleAndOurAddressTable.addCell(retailInvoiceTitleCell);
|
| 714 |
logoTitleAndOurAddressTable.addCell(sorlAddress);
|
725 |
logoTitleAndOurAddressTable.addCell(sorlAddress);
|
| 715 |
|
726 |
|
| - |
|
727 |
regAddAndDisCellTable.addCell(disclaimerCell);
|
| - |
|
728 |
regAddAndDisCellTable.addCell(regAddressCell);
|
| - |
|
729 |
|
| 716 |
taxTable.addCell(logoTitleAndOurAddressTable);
|
730 |
taxTable.addCell(logoTitleAndOurAddressTable);
|
| 717 |
taxTable.addCell(addrAndOrderDetailsTable);
|
731 |
taxTable.addCell(addrAndOrderDetailsTable);
|
| 718 |
taxTable.addCell(invoiceTable);
|
732 |
taxTable.addCell(invoiceTable);
|
| 719 |
taxTable.addCell(disclaimerCell);
|
733 |
taxTable.addCell(disclaimerCell);
|
| 720 |
if(order.getSource() == OrderSource.FLIPKART.getValue()) {
|
734 |
if(order.getSource() == OrderSource.FLIPKART.getValue()) {
|