| Line 218... |
Line 218... |
| 218 |
orders.addCell(new Paragraph("1", FONT_NORMAL));
|
218 |
orders.addCell(new Paragraph("1", FONT_NORMAL));
|
| 219 |
orders.addCell(new Paragraph(String.format("%.2f", insurancePolicy.getRate()), FONT_NORMAL));
|
219 |
orders.addCell(new Paragraph(String.format("%.2f", insurancePolicy.getRate()), FONT_NORMAL));
|
| 220 |
orders.addCell(new Paragraph("-", FONT_NORMAL));
|
220 |
orders.addCell(new Paragraph("-", FONT_NORMAL));
|
| 221 |
orders.addCell(new Paragraph(String.format("%.2f", insurancePolicy.getRate()), FONT_NORMAL));
|
221 |
orders.addCell(new Paragraph(String.format("%.2f", insurancePolicy.getRate()), FONT_NORMAL));
|
| 222 |
if (!stateGst) {
|
222 |
if (!stateGst) {
|
| 223 |
orders.addCell(
|
- |
|
| 224 |
new Paragraph(String.format("%.2f", insurancePolicy.getIgstRate()), FONT_NORMAL));
|
- |
|
| 225 |
orders.addCell(
|
- |
|
| 226 |
new Paragraph(String.format("%.2f", insurancePolicy.getIgstAmount()), FONT_NORMAL));
|
223 |
orders.addCell(new Paragraph(String.format("%.2f%n(@%.0f%%)", insurancePolicy.getIgstAmount(), insurancePolicy.getIgstRate()), FONT_NORMAL));
|
| 227 |
igstTotalAmount = igstTotalAmount + insurancePolicy.getIgstAmount();
|
224 |
igstTotalAmount = igstTotalAmount + insurancePolicy.getIgstAmount();
|
| 228 |
} else {
|
225 |
} else {
|
| 229 |
orders.addCell(
|
- |
|
| 230 |
new Paragraph(String.format("%.2f", insurancePolicy.getCgstRate()), FONT_NORMAL));
|
- |
|
| 231 |
orders.addCell(
|
- |
|
| 232 |
new Paragraph(String.format("%.2f", insurancePolicy.getCgstAmount()), FONT_NORMAL));
|
226 |
orders.addCell(new Paragraph(String.format("%.2f%n(@%.0f%%)", insurancePolicy.getCgstAmount(), insurancePolicy.getCgstRate()), FONT_NORMAL));
|
| 233 |
orders.addCell(
|
- |
|
| 234 |
new Paragraph(String.format("%.2f", insurancePolicy.getSgstRate()), FONT_NORMAL));
|
- |
|
| 235 |
orders.addCell(
|
- |
|
| 236 |
new Paragraph(String.format("%.2f", insurancePolicy.getSgstAmount()), FONT_NORMAL));
|
227 |
orders.addCell(new Paragraph(String.format("%.2f%n(@%.0f%%)", insurancePolicy.getSgstAmount(), insurancePolicy.getSgstRate()), FONT_NORMAL));
|
| 237 |
cgstTotalAmount = cgstTotalAmount + insurancePolicy.getCgstAmount();
|
228 |
cgstTotalAmount = cgstTotalAmount + insurancePolicy.getCgstAmount();
|
| 238 |
sgstTotalAmount = sgstTotalAmount + insurancePolicy.getSgstAmount();
|
229 |
sgstTotalAmount = sgstTotalAmount + insurancePolicy.getSgstAmount();
|
| 239 |
}
|
230 |
}
|
| 240 |
orders.addCell(new Paragraph(String.format("%.0f", insurancePolicy.getNetAmount()), FONT_NORMAL));
|
231 |
orders.addCell(new Paragraph(String.format("%.0f", insurancePolicy.getNetAmount()), FONT_NORMAL));
|
| 241 |
}
|
232 |
}
|