| Line 32... |
Line 32... |
| 32 |
|
32 |
|
| 33 |
// private static final Properties properties = readProperties();
|
33 |
// private static final Properties properties = readProperties();
|
| 34 |
private static final String ourAddressDelhi = "Spice Online Retail Pvt. Ltd.\nC/O,PIBCO LIMITED, Basement,Punjsons\n2,Kalkaji Industrial Area, New Delhi-110019\n";
|
34 |
private static final String ourAddressDelhi = "Spice Online Retail Pvt. Ltd.\nC/O,PIBCO LIMITED, Basement,Punjsons\n2,Kalkaji Industrial Area, New Delhi-110019\n";
|
| 35 |
private static final String ourAddressBhiwandi = "Spice Online Retail Pvt. Ltd.\nBhivandi Junction, Bhiwandi, Thane,\nMaharashtra -421302\n";
|
35 |
private static final String ourAddressBhiwandi = "Spice Online Retail Pvt. Ltd.\nBhivandi Junction, Bhiwandi, Thane,\nMaharashtra -421302\n";
|
| 36 |
private static final String ourAddressGoregaon = "Spice Online Retail Pvt. Ltd.\n93/743, Motilal Nagar-1, Goregaon(WEST),\nMotilal Nagar, Mumbai, Maharashtra-400062\n";
|
36 |
private static final String ourAddressGoregaon = "Spice Online Retail Pvt. Ltd.\n93/743, Motilal Nagar-1, Goregaon(WEST),\nMotilal Nagar, Mumbai, Maharashtra-400062\n";
|
| - |
|
37 |
private static final String amazonAddress = "Spice Online Retail Pvt. Ltd. \nC/O Amazon Seller Services Pvt. Ltd.,\nBuilding H Prathmesh Complex, Saravali Village,\nOpp Hotel Vatika Kalyan, Bhivandi Junction,\nBhiwandi, Maharashtra\n";
|
| 37 |
private static final String tinNoDelhi = "07250399732";
|
38 |
private static final String tinNoDelhi = "07250399732";
|
| 38 |
private static final String tinNoMum = "27450984008";
|
39 |
private static final String tinNoMum = "27450984008";
|
| 39 |
|
40 |
|
| 40 |
private static final Font helvetica8 = FontFactory.getFont(
|
41 |
private static final Font helvetica8 = FontFactory.getFont(
|
| 41 |
FontFactory.HELVETICA, 8);
|
42 |
FontFactory.HELVETICA, 8);
|
| Line 119... |
Line 120... |
| 119 |
address = ourAddressGoregaon;
|
120 |
address = ourAddressGoregaon;
|
| 120 |
tinNo = tinNoMum;
|
121 |
tinNo = tinNoMum;
|
| 121 |
} else if(warehouseId == 13) {
|
122 |
} else if(warehouseId == 13) {
|
| 122 |
address = ourAddressBhiwandi;
|
123 |
address = ourAddressBhiwandi;
|
| 123 |
tinNo = tinNoMum;
|
124 |
tinNo = tinNoMum;
|
| - |
|
125 |
} else if(warehouseId ==13) {
|
| - |
|
126 |
address = amazonAddress;
|
| - |
|
127 |
tinNo = tinNoMum;
|
| 124 |
}
|
128 |
}
|
| 125 |
Paragraph addressParagraph = new Paragraph(address + "\nTIN NO. "
|
129 |
Paragraph addressParagraph = new Paragraph(address + "\nTIN NO. "
|
| 126 |
+ tinNo, new Font(FontFamily.TIMES_ROMAN, 8f));
|
130 |
+ tinNo, new Font(FontFamily.TIMES_ROMAN, 8f));
|
| 127 |
PdfPCell addressCell = new PdfPCell();
|
131 |
PdfPCell addressCell = new PdfPCell();
|
| 128 |
addressCell.addElement(addressParagraph);
|
132 |
addressCell.addElement(addressParagraph);
|