| Line 293... |
Line 293... |
| 293 |
PdfPTable chargesTable = new PdfPTable(1);
|
293 |
PdfPTable chargesTable = new PdfPTable(1);
|
| 294 |
chargesTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
|
294 |
chargesTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
|
| 295 |
chargesTable.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
|
295 |
chargesTable.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
|
| 296 |
if(order.isLogisticsCod()){
|
296 |
if(order.isLogisticsCod()){
|
| 297 |
chargesTable.addCell(new Phrase("AMOUNT TO BE COLLECTED : Rs " + order.getTotal_amount(), helveticaBold12));
|
297 |
chargesTable.addCell(new Phrase("AMOUNT TO BE COLLECTED : Rs " + order.getTotal_amount(), helveticaBold12));
|
| 298 |
chargesTable.addCell(new Phrase("RTO ADDRESS:DEL/ITG-111117"));
|
298 |
chargesTable.addCell(new Phrase("RTO ADDRESS:DEL/HPW/111116"));
|
| 299 |
} else {
|
299 |
} else {
|
| 300 |
chargesTable.addCell(new Phrase("Do not pay any extra charges to the Courier."));
|
300 |
chargesTable.addCell(new Phrase("Do not pay any extra charges to the Courier."));
|
| 301 |
}
|
301 |
}
|
| 302 |
|
302 |
|
| 303 |
PdfPTable addressAndNoteTable = new PdfPTable(new float[]{0.3f, 0.7f});
|
303 |
PdfPTable addressAndNoteTable = new PdfPTable(new float[]{0.3f, 0.7f});
|