| Line 236... |
Line 236... |
| 236 |
|
236 |
|
| 237 |
}
|
237 |
}
|
| 238 |
table.addCell(companyCell);
|
238 |
table.addCell(companyCell);
|
| 239 |
table.addCell(addressCell);
|
239 |
table.addCell(addressCell);
|
| 240 |
if(isCod) {
|
240 |
if(isCod) {
|
| 241 |
table.addCell(new Phrase("Manifest ID: COD" + df.format(new Date())) + String.format("%032", warehouseId) + String.format("%032", providerId));
|
241 |
table.addCell(new Phrase("Manifest ID: COD" + df.format(new Date())) + String.format("%02d", warehouseId) + String.format("%02d", providerId));
|
| 242 |
table.addCell(new Phrase("PAYMODE: COD", helvetica8));
|
242 |
table.addCell(new Phrase("PAYMODE: COD", helvetica8));
|
| 243 |
}
|
243 |
}
|
| 244 |
else {
|
244 |
else {
|
| 245 |
table.addCell(new Phrase("Manifest ID: PRE" + df.format(new Date())) + String.format("%032", warehouseId) + String.format("%032", providerId));
|
245 |
table.addCell(new Phrase("Manifest ID: PRE" + df.format(new Date())) + String.format("%02d", warehouseId) + String.format("%02d", providerId));
|
| 246 |
table.addCell(new Phrase("PAYMODE: Prepaid", helvetica8));
|
246 |
table.addCell(new Phrase("PAYMODE: Prepaid", helvetica8));
|
| 247 |
}
|
247 |
}
|
| 248 |
if(provider.getPickup() == PickUpType.RUNNER){
|
248 |
if(provider.getPickup() == PickUpType.RUNNER){
|
| 249 |
table.addCell(new Phrase("Runner Name: " + runner, helvetica8));
|
249 |
table.addCell(new Phrase("Runner Name: " + runner, helvetica8));
|
| 250 |
table.addCell(new Phrase("Manifest Type: Runner Manifest", helvetica8));
|
250 |
table.addCell(new Phrase("Manifest Type: Runner Manifest", helvetica8));
|