Subversion Repositories SmartDukaan

Rev

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

Rev 20951 Rev 20961
Line 19... Line 19...
19
		for(Order o : orders) {
19
		for(Order o : orders) {
20
			this.totalAmount += o.getTotal_amount();
20
			this.totalAmount += o.getTotal_amount();
21
			this.totalWeightInKg += o.getTotal_weight();
21
			this.totalWeightInKg += o.getTotal_weight();
22
			this.netPayable += o.getNet_payable_amount();
22
			this.netPayable += o.getNet_payable_amount();
23
			this.shippingCharges += o.getShippingCost();
23
			this.shippingCharges += o.getShippingCost();
24
			this.totalPcs += o.getLineitems().get(0).getQuantity();
-
 
25
		}
24
		}
26
		this.order = orders.get(0);
25
		this.order = orders.get(0);
27
		determineCod();
26
		determineCod();
28
 
27
 
29
	}
28
	}