Subversion Repositories SmartDukaan

Rev

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

Rev 7343 Rev 7360
Line 236... Line 236...
236
        lineitem.setQuantity(1.0);
236
        lineitem.setQuantity(1.0);
237
        lineitem.setUnit_price(price);
237
        lineitem.setUnit_price(price);
238
        lineitem.setTotal_price(price);
238
        lineitem.setTotal_price(price);
239
        lineitem.setUnit_weight(item.getWeight());
239
        lineitem.setUnit_weight(item.getWeight());
240
        lineitem.setTotal_weight(item.getWeight());
240
        lineitem.setTotal_weight(item.getWeight());
241
        lineitem.setDealText(item.getBestDealText());
241
        lineitem.setDealText(bestDealText);
242
        
242
        
243
        if(item.getWarrantyPeriod() > 0) {
243
        if(item.getWarrantyPeriod() > 0) {
244
            //Computing Manufacturer Warranty expiry date
244
            //Computing Manufacturer Warranty expiry date
245
            Calendar cal = Calendar.getInstance();
245
            Calendar cal = Calendar.getInstance();
246
            cal.add(Calendar.MONTH, item.getWarrantyPeriod());
246
            cal.add(Calendar.MONTH, item.getWarrantyPeriod());