| Line 218... |
Line 218... |
| 218 |
dispatchAdviceTable.setSpacingAfter(10.0f);
|
218 |
dispatchAdviceTable.setSpacingAfter(10.0f);
|
| 219 |
dispatchAdviceTable.setWidthPercentage(90.0f);
|
219 |
dispatchAdviceTable.setWidthPercentage(90.0f);
|
| 220 |
|
220 |
|
| 221 |
document.add(dispatchAdviceTable);
|
221 |
document.add(dispatchAdviceTable);
|
| 222 |
if(withBill){
|
222 |
if(withBill){
|
| 223 |
PdfPTable taxTable = getTaxCumRetailInvoiceTable(order, provider, shippingLocation.getLocation(), shippingLocation.getPincode());
|
223 |
PdfPTable taxTable = getTaxCumRetailInvoiceTable(order, provider, shippingLocation.getLocation() + "-" + shippingLocation.getPincode() , shippingLocation.getTinNumber());
|
| 224 |
taxTable.setSpacingBefore(5.0f);
|
224 |
taxTable.setSpacingBefore(5.0f);
|
| 225 |
taxTable.setWidthPercentage(90.0f);
|
225 |
taxTable.setWidthPercentage(90.0f);
|
| 226 |
document.add(new DottedLineSeparator());
|
226 |
document.add(new DottedLineSeparator());
|
| 227 |
document.add(taxTable);
|
227 |
document.add(taxTable);
|
| 228 |
}else{
|
228 |
}else{
|
| Line 548... |
Line 548... |
| 548 |
}
|
548 |
}
|
| 549 |
PdfPCell retailInvoiceTitleCell = new PdfPCell(phrase);
|
549 |
PdfPCell retailInvoiceTitleCell = new PdfPCell(phrase);
|
| 550 |
retailInvoiceTitleCell.setHorizontalAlignment(Element.ALIGN_CENTER);
|
550 |
retailInvoiceTitleCell.setHorizontalAlignment(Element.ALIGN_CENTER);
|
| 551 |
retailInvoiceTitleCell.setBorder(Rectangle.NO_BORDER);
|
551 |
retailInvoiceTitleCell.setBorder(Rectangle.NO_BORDER);
|
| 552 |
|
552 |
|
| 553 |
Paragraph sorlAddress = new Paragraph(ourAddress + "TIN NO. " + tinNo, new Font(FontFamily.TIMES_ROMAN, 8f, Element.ALIGN_CENTER));
|
553 |
Paragraph sorlAddress = new Paragraph(ourAddress + "\nTIN NO. " + tinNo, new Font(FontFamily.TIMES_ROMAN, 8f, Element.ALIGN_CENTER));
|
| 554 |
PdfPCell sorlAddressCell = new PdfPCell(sorlAddress);
|
554 |
PdfPCell sorlAddressCell = new PdfPCell(sorlAddress);
|
| 555 |
sorlAddressCell.addElement(sorlAddress);
|
555 |
sorlAddressCell.addElement(sorlAddress);
|
| 556 |
sorlAddressCell.setHorizontalAlignment(Element.ALIGN_CENTER);
|
556 |
sorlAddressCell.setHorizontalAlignment(Element.ALIGN_CENTER);
|
| 557 |
|
557 |
|
| 558 |
PdfPTable customerAddress = getCustomerAddressTable(order, null, true, helvetica8, true);
|
558 |
PdfPTable customerAddress = getCustomerAddressTable(order, null, true, helvetica8, true);
|