| Line 261... |
Line 261... |
| 261 |
String destCode = null;
|
261 |
String destCode = null;
|
| 262 |
Warehouse shippingLocation = null;
|
262 |
Warehouse shippingLocation = null;
|
| 263 |
int barcodeFontSize = 0;
|
263 |
int barcodeFontSize = 0;
|
| 264 |
String invoiceFormat = null;
|
264 |
String invoiceFormat = null;
|
| 265 |
try {
|
265 |
try {
|
| - |
|
266 |
System.out.println("Recieved warehouse id " + singleOrder.getWarehouse_id());
|
| 266 |
if(singleOrder.getWarehouse_id() == 7 && InvoiceServlet.cutoffTime > singleOrder.getBilling_timestamp() ){
|
267 |
if(singleOrder.getWarehouse_id() == 7 && InvoiceServlet.cutoffTime > singleOrder.getBilling_timestamp() ){
|
| 267 |
companyName = SORPL;
|
268 |
companyName = SORPL;
|
| 268 |
warehouse = iclient.getWarehouse(7151);
|
269 |
warehouse = iclient.getWarehouse(7151);
|
| 269 |
} else {
|
270 |
} else {
|
| 270 |
warehouse = iclient.getWarehouse(singleOrder.getWarehouse_id());
|
271 |
warehouse = iclient.getWarehouse(singleOrder.getWarehouse_id());
|
| Line 1247... |
Line 1248... |
| 1247 |
PdfPTable regAddAndDisCellTable = new PdfPTable(2);
|
1248 |
PdfPTable regAddAndDisCellTable = new PdfPTable(2);
|
| 1248 |
|
1249 |
|
| 1249 |
PdfPCell disclaimerCell = new PdfPCell(new Phrase("Goods once sold will not be taken back.\nAll disputes subject to Delhi Jurisdiction.\nThis is a Computer generated Invoice.", helvetica8));
|
1250 |
PdfPCell disclaimerCell = new PdfPCell(new Phrase("Goods once sold will not be taken back.\nAll disputes subject to Delhi Jurisdiction.\nThis is a Computer generated Invoice.", helvetica8));
|
| 1250 |
disclaimerCell.setHorizontalAlignment(Element.ALIGN_LEFT);
|
1251 |
disclaimerCell.setHorizontalAlignment(Element.ALIGN_LEFT);
|
| 1251 |
disclaimerCell.setBorder(Rectangle.NO_BORDER);
|
1252 |
disclaimerCell.setBorder(Rectangle.NO_BORDER);
|
| 1252 |
|
1253 |
PdfPCell regAddressCell = new PdfPCell(new Phrase(" SPICE & ONLINE RETAIL PRIVATE LIMITED\n Regd. Add. 60-D, STREET NO. C-5, SAINIK FARMS,NEW DELHI-110062\n CIN: U74140DL2008PTC183856 Tel. No. +91-9818116289 E-mail. help@saholic.com Website. www.saholic.com", helvetica6));
|
| - |
|
1254 |
if(companyName.equals(SORPL)){
|
| 1253 |
PdfPCell regAddressCell = new PdfPCell(new Phrase(" SPICE ONLINE RETAIL PRIVATE LIMITED\n Regd. Add. 60-D, STREET NO. C-5, SAINIK FARMS,NEW DELHI-110062\n CIN: U74140DL2008PTC183856 Tel. No. +91-9818116289 E-mail. help@saholic.com Website. www.saholic.com", helvetica6));
|
1255 |
regAddressCell = new PdfPCell(new Phrase(" SPICE ONLINE RETAIL PRIVATE LIMITED\n Regd. Add. 60-D, STREET NO. C-5, SAINIK FARMS,NEW DELHI-110062\n CIN: U74140DL2008PTC183856 Tel. No. +91-9818116289 E-mail. help@saholic.com Website. www.saholic.com", helvetica6));
|
| - |
|
1256 |
}
|
| 1254 |
regAddressCell.setHorizontalAlignment(Element.ALIGN_LEFT);
|
1257 |
regAddressCell.setHorizontalAlignment(Element.ALIGN_LEFT);
|
| 1255 |
regAddressCell.setBorder(Rectangle.NO_BORDER);
|
1258 |
regAddressCell.setBorder(Rectangle.NO_BORDER);
|
| 1256 |
/*SPICE ONLINE RETAIL PRIVATE LIMITED
|
1259 |
/*SPICE ONLINE RETAIL PRIVATE LIMITED
|
| 1257 |
Regd. Add. 60-D, STREET NO. C-5, SAINIK FARMS,NEW DELHI-110062
|
1260 |
Regd. Add. 60-D, STREET NO. C-5, SAINIK FARMS,NEW DELHI-110062
|
| 1258 |
CIN: U74140DL2008PTC183856
|
1261 |
CIN: U74140DL2008PTC183856
|