Subversion Repositories SmartDukaan

Rev

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

Rev 1957 Rev 1981
Line 249... Line 249...
249
			if(cart.isSetAddressId())	{
249
			if(cart.isSetAddressId())	{
250
				defaultAddressId = cart.getAddressId();
250
				defaultAddressId = cart.getAddressId();
251
			} else	{
251
			} else	{
252
				defaultAddressId = userClient.getDefaultAddressId(cart.getUserId());
252
				defaultAddressId = userClient.getDefaultAddressId(cart.getUserId());
253
			}
253
			}
-
 
254
	        
-
 
255
			String couponCode = cart.getCouponCode();
-
 
256
	        context.put("couponcode", couponCode == null ? "" : couponCode);
-
 
257
	        context.put("discountedamount", cart.getDiscountedPrice() + "");
-
 
258
	        
254
		} catch (Exception e)	{
259
		} catch (Exception e)	{
255
			e.printStackTrace();
260
			e.printStackTrace();
256
		}
261
		}
257
		System.out.println(fullName + " | " + phoneNumber);
262
		System.out.println(fullName + " | " + phoneNumber);
-
 
263
        
258
		context.put("fullname", fullName);
264
		context.put("fullname", fullName);
259
		context.put("phonenumber", phoneNumber);
265
		context.put("phonenumber", phoneNumber);
260
		
266
		
261
		context.put("items", items);
267
		context.put("items", items);
262
		context.put("totalamount", (int)totalamount+"");
268
		context.put("totalamount", (int)totalamount+"");