| Line 253... |
Line 253... |
| 253 |
PdfPTable chargesTable = new PdfPTable(1);
|
253 |
PdfPTable chargesTable = new PdfPTable(1);
|
| 254 |
chargesTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
|
254 |
chargesTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
|
| 255 |
chargesTable.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
|
255 |
chargesTable.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
|
| 256 |
if(order.isCod()){
|
256 |
if(order.isCod()){
|
| 257 |
chargesTable.addCell(new Phrase("AMOUNT TO BE COLLECTED : Rs " + order.getTotal_amount(), helveticaBold12));
|
257 |
chargesTable.addCell(new Phrase("AMOUNT TO BE COLLECTED : Rs " + order.getTotal_amount(), helveticaBold12));
|
| 258 |
chargesTable.addCell(new Phrase("RTO ADDRESS:DEL/HSE-111118"));
|
258 |
chargesTable.addCell(new Phrase("RTO ADDRESS:DEL/ITG-111117"));
|
| 259 |
} else {
|
259 |
} else {
|
| 260 |
chargesTable.addCell(new Phrase("Do not pay any extra charges to the Courier."));
|
260 |
chargesTable.addCell(new Phrase("Do not pay any extra charges to the Courier."));
|
| 261 |
}
|
261 |
}
|
| 262 |
|
262 |
|
| 263 |
PdfPTable addressAndNoteTable = new PdfPTable(new float[]{0.3f, 0.7f});
|
263 |
PdfPTable addressAndNoteTable = new PdfPTable(new float[]{0.3f, 0.7f});
|