Subversion Repositories SmartDukaan

Rev

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

Rev 28291 Rev 28292
Line 730... Line 730...
730
		StringWriter writer = new StringWriter();
730
		StringWriter writer = new StringWriter();
731
		t.merge(context, writer);
731
		t.merge(context, writer);
732
 
732
 
733
		CustomRetailer customRetailer = retailerService.getFofoRetailer(pendingOrder.getFofoId());
733
		CustomRetailer customRetailer = retailerService.getFofoRetailer(pendingOrder.getFofoId());
734
		Customer customer = customerRepository.selectById(pendingOrder.getCustomerId());
734
		Customer customer = customerRepository.selectById(pendingOrder.getCustomerId());
-
 
735
		
735
		if (!customer.getEmailId().equals(null)) {
736
		if (!customer.getEmailId().equals(null)) {
736
			String[] customerEmail = { customer.getEmailId() };
737
			String[] customerEmail = { customer.getEmailId() };
737
 
738
 
738
			this.sendMailWithAttachments("Order Confirmation", writer.toString(), customerEmail);
739
			this.sendMailWithAttachments("Order Confirmation", writer.toString(), customerEmail);
739
 
740