Subversion Repositories SmartDukaan

Rev

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

Rev 29346 Rev 29381
Line 627... Line 627...
627
					sendNotificationModel.setTitle("Order Update");
627
					sendNotificationModel.setTitle("Order Update");
628
					sendNotificationModel.setMessage(String
628
					sendNotificationModel.setMessage(String
629
							.format("Dear partner, your items with Invoice Number " + String.join(",", invoiceNumbers)
629
							.format("Dear partner, your items with Invoice Number " + String.join(",", invoiceNumbers)
630
									+ " worth Rs." + totalAmount + " and qty " + totalQty + " has been shipped through "
630
									+ " worth Rs." + totalAmount + " and qty " + totalQty + " has been shipped through "
631
									+ providerRepository.selectById(order.getLogisticsProviderId()).getName()
631
									+ providerRepository.selectById(order.getLogisticsProviderId()).getName()
632
									+ " via your track id " + ddm.getAirwayBIllNumber() + " has been delayed for "
632
									+ " via your track id " + ddm.getAirwayBIllNumber() + " has been delayed due to "
633
									+ ddm.getReason() + " and will be delivered by "
633
									+ ddm.getReason() + " and will be delivered by "
634
									+ deliveryDate.format(DateTimeFormatter.ofPattern("dd-MM-yyyy"))));
634
									+ deliveryDate.format(DateTimeFormatter.ofPattern("dd-MM-yyyy"))));
635
					sendNotificationModel.setType("url");
635
					sendNotificationModel.setType("url");
636
					sendNotificationModel.setUrl("https://app.smartdukaan.com/pages/home/notifications");
636
					sendNotificationModel.setUrl("https://app.smartdukaan.com/pages/home/notifications");
637
					sendNotificationModel.setExpiresat(LocalDateTime.now().plusDays(1));
637
					sendNotificationModel.setExpiresat(LocalDateTime.now().plusDays(1));