| Line 900... |
Line 900... |
| 900 |
Map<Long, Double> itemRateMap = new HashMap<Long, Double>();
|
900 |
Map<Long, Double> itemRateMap = new HashMap<Long, Double>();
|
| 901 |
Map<Long, Double> itemTotalAmtMap = new HashMap<Long, Double>();
|
901 |
Map<Long, Double> itemTotalAmtMap = new HashMap<Long, Double>();
|
| 902 |
String paymentMode = "";
|
902 |
String paymentMode = "";
|
| 903 |
for(Order order : orderList){
|
903 |
for(Order order : orderList){
|
| 904 |
LineItem lineitem = order.getLineitems().get(0);
|
904 |
LineItem lineitem = order.getLineitems().get(0);
|
| 905 |
totalAmount = totalAmount + order.getTotal_amount()-order.getGvAmount()-order.getAdvanceAmount();
|
905 |
totalAmount = totalAmount + order.getTotal_amount()-order.getAdvanceAmount();
|
| 906 |
if(order.getInsurer() > 0) {
|
906 |
if(order.getInsurer() > 0) {
|
| 907 |
insuranceAmount =insuranceAmount + order.getInsuranceAmount();
|
907 |
insuranceAmount =insuranceAmount + order.getInsuranceAmount();
|
| 908 |
}
|
908 |
}
|
| 909 |
if(order.getSource() == OrderSource.STORE.getValue()) {
|
909 |
if(order.getSource() == OrderSource.STORE.getValue()) {
|
| 910 |
advanceAmount = advanceAmount + order.getAdvanceAmount();
|
910 |
advanceAmount = advanceAmount + order.getAdvanceAmount();
|