Subversion Repositories SmartDukaan

Rev

Rev 34957 | Rev 34959 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34957 Rev 34958
Line 189... Line 189...
189
                    } else {
189
                    } else {
190
                        throw new ProfitMandiBusinessException("Given price is greater than selling price for item Id - ", itemId, " it should be less or equal of DP");
190
                        throw new ProfitMandiBusinessException("Given price is greater than selling price for item Id - ", itemId, " it should be less or equal of DP");
191
                    }
191
                    }
192
 
192
 
193
                }
193
                }
194
                totalPayableAmountBD.add(new BigDecimal(String.valueOf(cartItem.getSellingPrice())).multiply(new BigDecimal(cartItem.getQuantity())));
194
                totalPayableAmountBD = totalPayableAmountBD.add(new BigDecimal(String.valueOf(cartItem.getSellingPrice())).multiply(new BigDecimal(cartItem.getQuantity())));
195
                cartItems.add(cartItem);
195
                cartItems.add(cartItem);
196
            }
196
            }
197
            totalPayableAmount = totalPayableAmountBD.doubleValue();
197
            totalPayableAmount = totalPayableAmountBD.doubleValue();
198
            Bid bid = null;
198
            Bid bid = null;
199
            if (type.equals(ProfitMandiConstants.PO_TYPE.AUTO)) {
199
            if (type.equals(ProfitMandiConstants.PO_TYPE.AUTO)) {