| Line 646... |
Line 646... |
| 646 |
totalAmount = totalAmount + o.getTotal_amount() +o.getShippingCost()-o.getGvAmount()-o.getAdvanceAmount();
|
646 |
totalAmount = totalAmount + o.getTotal_amount() +o.getShippingCost()-o.getGvAmount()-o.getAdvanceAmount();
|
| 647 |
totalWeight = totalWeight + o.getTotal_weight();
|
647 |
totalWeight = totalWeight + o.getTotal_weight();
|
| 648 |
}
|
648 |
}
|
| 649 |
|
649 |
|
| 650 |
PdfPTable table = new PdfPTable(1);
|
650 |
PdfPTable table = new PdfPTable(1);
|
| - |
|
651 |
table.setSplitLate(false);
|
| 651 |
table.getDefaultCell().setBorder(Rectangle.NO_BORDER);
|
652 |
table.getDefaultCell().setBorder(Rectangle.NO_BORDER);
|
| 652 |
|
653 |
|
| 653 |
PdfPTable titleBarTable = new PdfPTable(new float[]{0.4f, 0.4f, 0.2f});
|
654 |
PdfPTable titleBarTable = new PdfPTable(new float[]{0.4f, 0.4f, 0.2f});
|
| 654 |
titleBarTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
|
655 |
titleBarTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
|
| 655 |
|
656 |
|
| Line 1061... |
Line 1062... |
| 1061 |
|
1062 |
|
| 1062 |
private PdfPTable getTaxCumRetailInvoiceTable(List<Order> orderList, Provider provider, String ourAddress, String tinNo, String invoiceFormat){
|
1063 |
private PdfPTable getTaxCumRetailInvoiceTable(List<Order> orderList, Provider provider, String ourAddress, String tinNo, String invoiceFormat){
|
| 1063 |
Order order = orderList.get(0);
|
1064 |
Order order = orderList.get(0);
|
| 1064 |
PdfPTable taxTable = new PdfPTable(1);
|
1065 |
PdfPTable taxTable = new PdfPTable(1);
|
| 1065 |
Phrase phrase = null;
|
1066 |
Phrase phrase = null;
|
| - |
|
1067 |
taxTable.setSplitLate(false);
|
| 1066 |
taxTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
|
1068 |
taxTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
|
| 1067 |
taxTable.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
|
1069 |
taxTable.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
|
| 1068 |
|
1070 |
|
| 1069 |
PdfPTable logoTitleAndOurAddressTable = new PdfPTable(new float[]{0.4f, 0.3f, 0.3f});
|
1071 |
PdfPTable logoTitleAndOurAddressTable = new PdfPTable(new float[]{0.4f, 0.3f, 0.3f});
|
| 1070 |
logoTitleAndOurAddressTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
|
1072 |
logoTitleAndOurAddressTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
|