Subversion Repositories SmartDukaan

Rev

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

Rev 28377 Rev 28382
Line 1655... Line 1655...
1655
						if (authUserEmails != null) {
1655
						if (authUserEmails != null) {
1656
							authUserEmails = new ArrayList<>();
1656
							authUserEmails = new ArrayList<>();
1657
						}
1657
						}
1658
						authUserEmails.addAll(bccTo);
1658
						authUserEmails.addAll(bccTo);
1659
 
1659
 
1660
						emailService.sendMailWithAttachments("Order Created with SmartDukaan", "order-confirm.vm",
1660
						// emailService.sendMailWithAttachments("Order Created with SmartDukaan",
-
 
1661
						// "order-confirm.vm",
1661
								emailModel, customerEmail, null, authUserEmails.toArray(new String[0]));
1662
						// emailModel, customerEmail, null, authUserEmails.toArray(new String[0]));
1662
 
1663
 
1663
					} else if (statusList.contains("refunded") || statusList.contains("failed")) {
1664
					} else if (statusList.contains("refunded") || statusList.contains("failed")) {
1664
						for (PendingOrderItem poi : poItems) {
1665
						for (PendingOrderItem poi : poItems) {
1665
							poi.setStatus(com.spice.profitmandi.dao.enumuration.transaction.OrderStatus.FAILED);
1666
							poi.setStatus(com.spice.profitmandi.dao.enumuration.transaction.OrderStatus.FAILED);
1666
						}
1667
						}