| Line 409... |
Line 409... |
| 409 |
"limits the liability of FedEx for loss, delay or damage to the consignment." +
|
409 |
"limits the liability of FedEx for loss, delay or damage to the consignment." +
|
| 410 |
" Visit http://www.fedex.com/in/domestic/services/terms to view the conitions of Carriage" ,
|
410 |
" Visit http://www.fedex.com/in/domestic/services/terms to view the conitions of Carriage" ,
|
| 411 |
new Font(FontFamily.TIMES_ROMAN, 8f)));
|
411 |
new Font(FontFamily.TIMES_ROMAN, 8f)));
|
| 412 |
}
|
412 |
}
|
| 413 |
|
413 |
|
| 414 |
if(order.getProductCondition().equals(ProductCondition.BAD)){
|
- |
|
| 415 |
chargesTable.addCell(new Phrase(" Item(s) above are sold on as is where is basis. They " +
|
- |
|
| 416 |
"may be in dead/defective/damaged/refurbished/incomplete/open condition. These " +
|
- |
|
| 417 |
"are not returnable, exchangeable or refundable under any circumstances. No " +
|
- |
|
| 418 |
"warranty is assured on these items." ,
|
- |
|
| 419 |
new Font(FontFamily.TIMES_ROMAN, 8f)));
|
- |
|
| 420 |
}
|
- |
|
| 421 |
|
- |
|
| 422 |
addressTable.addCell(new Phrase("If undelivered, return to:", helvetica10));
|
414 |
addressTable.addCell(new Phrase("If undelivered, return to:", helvetica10));
|
| 423 |
addressTable.addCell(addressCell);
|
415 |
addressTable.addCell(addressCell);
|
| 424 |
|
416 |
|
| 425 |
PdfPTable addressAndNoteTable = new PdfPTable(new float[]{0.3f, 0.7f});
|
417 |
PdfPTable addressAndNoteTable = new PdfPTable(new float[]{0.3f, 0.7f});
|
| 426 |
addressAndNoteTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
|
418 |
addressAndNoteTable.getDefaultCell().setBorder(Rectangle.NO_BORDER);
|
| Line 722... |
Line 714... |
| 722 |
logoTitleAndOurAddressTable.addCell(sorlAddress);
|
714 |
logoTitleAndOurAddressTable.addCell(sorlAddress);
|
| 723 |
|
715 |
|
| 724 |
taxTable.addCell(logoTitleAndOurAddressTable);
|
716 |
taxTable.addCell(logoTitleAndOurAddressTable);
|
| 725 |
taxTable.addCell(addrAndOrderDetailsTable);
|
717 |
taxTable.addCell(addrAndOrderDetailsTable);
|
| 726 |
taxTable.addCell(invoiceTable);
|
718 |
taxTable.addCell(invoiceTable);
|
| 727 |
if(order.getProductCondition().equals(ProductCondition.GOOD)) {
|
- |
|
| 728 |
taxTable.addCell(disclaimerCell);
|
719 |
taxTable.addCell(disclaimerCell);
|
| 729 |
}
|
- |
|
| 730 |
if(order.getSource() == OrderSource.FLIPKART.getValue()) {
|
720 |
if(order.getSource() == OrderSource.FLIPKART.getValue()) {
|
| 731 |
taxTable.addCell(powerTextCell);
|
721 |
taxTable.addCell(powerTextCell);
|
| 732 |
|
722 |
|
| 733 |
}
|
723 |
}
|
| - |
|
724 |
if(order.getProductCondition().equals(ProductCondition.BAD)){
|
| - |
|
725 |
taxTable.addCell(new Phrase(" Item(s) above are sold on as is where is basis. They " +
|
| - |
|
726 |
"may be in dead/defective/damaged/refurbished/incomplete/open condition. These " +
|
| - |
|
727 |
"are not returnable, exchangeable or refundable under any circumstances. No " +
|
| - |
|
728 |
"warranty is assured on these items." ,
|
| - |
|
729 |
new Font(FontFamily.TIMES_ROMAN, 8f)));
|
| - |
|
730 |
}
|
| 734 |
return taxTable;
|
731 |
return taxTable;
|
| 735 |
}
|
732 |
}
|
| 736 |
|
733 |
|
| 737 |
private boolean isVatApplicable(Order order) {
|
734 |
private boolean isVatApplicable(Order order) {
|
| 738 |
if(order.getWarehouse_id() == 7) {
|
735 |
if(order.getWarehouse_id() == 7) {
|