| Line 600... |
Line 600... |
| 600 |
if (fofoOrderItems.stream().findAny().get().getHsnCode().equals("NOGST")) {
|
600 |
if (fofoOrderItems.stream().findAny().get().getHsnCode().equals("NOGST")) {
|
| 601 |
pdfModel.setTitle("Security Deposit Receipt");
|
601 |
pdfModel.setTitle("Security Deposit Receipt");
|
| 602 |
}
|
602 |
}
|
| 603 |
pdfModel.setPaymentOptions(paymentOptions);
|
603 |
pdfModel.setPaymentOptions(paymentOptions);
|
| 604 |
pdfModel.setAuther("SmartDukaan");
|
604 |
pdfModel.setAuther("SmartDukaan");
|
| 605 |
pdfModel.setInvoiceDate(fofoOrder.getFormattedDate());
|
605 |
pdfModel.setInvoiceDate(FormattingUtils.formatDate(fofoOrder.getCreateTimestamp()));
|
| 606 |
|
606 |
|
| 607 |
// insurance calculation
|
607 |
// insurance calculation
|
| 608 |
List<InsurancePolicy> insurancePolicies = insurancePolicyRepository
|
608 |
List<InsurancePolicy> insurancePolicies = insurancePolicyRepository
|
| 609 |
.selectByRetailerIdInvoiceNumber(fofoOrder.getFofoId(), fofoOrder.getInvoiceNumber());
|
609 |
.selectByRetailerIdInvoiceNumber(fofoOrder.getFofoId(), fofoOrder.getInvoiceNumber());
|
| 610 |
Set<CustomInsurancePolicy> customInsurancePolicies = new HashSet<>();
|
610 |
Set<CustomInsurancePolicy> customInsurancePolicies = new HashSet<>();
|