| Line 144... |
Line 144... |
| 144 |
contentRow.createCell(9).setCellValue(getValueForEmptyString(order.getCustomer_pincode()));
|
144 |
contentRow.createCell(9).setCellValue(getValueForEmptyString(order.getCustomer_pincode()));
|
| 145 |
contentRow.createCell(10).setCellValue(getValueForEmptyString(order.getCustomer_mobilenumber()));
|
145 |
contentRow.createCell(10).setCellValue(getValueForEmptyString(order.getCustomer_mobilenumber()));
|
| 146 |
contentRow.createCell(11).setCellValue("-");
|
146 |
contentRow.createCell(11).setCellValue("-");
|
| 147 |
if(isCod){
|
147 |
if(isCod){
|
| 148 |
contentRow.createCell(12).setCellValue("COD");
|
148 |
contentRow.createCell(12).setCellValue("COD");
|
| 149 |
contentRow.createCell(13).setCellValue(order.getTotal_amount());
|
149 |
contentRow.createCell(13).setCellValue(order.getTotal_amount()-order.getGvAmount());
|
| 150 |
} else {
|
150 |
} else {
|
| 151 |
contentRow.createCell(12).setCellValue("Prepaid");
|
151 |
contentRow.createCell(12).setCellValue("Prepaid");
|
| 152 |
contentRow.createCell(13).setCellValue(0);
|
152 |
contentRow.createCell(13).setCellValue(0);
|
| 153 |
}
|
153 |
}
|
| 154 |
|
154 |
|
| 155 |
List<LineItem> lineItems = order.getLineitems();
|
155 |
List<LineItem> lineItems = order.getLineitems();
|
| 156 |
LineItem lineItem = lineItems.get(0);
|
156 |
LineItem lineItem = lineItems.get(0);
|
| 157 |
contentRow.createCell(14).setCellValue(order.getTotal_amount());
|
157 |
contentRow.createCell(14).setCellValue(order.getTotal_amount()-order.getGvAmount());
|
| 158 |
contentRow.createCell(15).setCellValue(lineItem.getId());
|
158 |
contentRow.createCell(15).setCellValue(lineItem.getId());
|
| 159 |
Cell weightCell = contentRow.createCell(16);
|
159 |
Cell weightCell = contentRow.createCell(16);
|
| 160 |
weightCell.setCellValue(lineItem.getTotal_weight());
|
160 |
weightCell.setCellValue(lineItem.getTotal_weight());
|
| 161 |
weightCell.setCellStyle(weightStyle);
|
161 |
weightCell.setCellStyle(weightStyle);
|
| 162 |
contentRow.createCell(17).setCellValue(lineItem.getBrand() + " " + lineItem.getModel_number() + " " + lineItem.getModel_name() + " " + lineItem.getColor());
|
162 |
contentRow.createCell(17).setCellValue(lineItem.getBrand() + " " + lineItem.getModel_number() + " " + lineItem.getModel_name() + " " + lineItem.getColor());
|