| Line 42... |
Line 42... |
| 42 |
import com.spice.profitmandi.dao.repository.user.CartRepository;
|
42 |
import com.spice.profitmandi.dao.repository.user.CartRepository;
|
| 43 |
import com.spice.profitmandi.dao.service.ScratchService;
|
43 |
import com.spice.profitmandi.dao.service.ScratchService;
|
| 44 |
import com.spice.profitmandi.service.EmailService;
|
44 |
import com.spice.profitmandi.service.EmailService;
|
| 45 |
import com.spice.profitmandi.service.NotificationService;
|
45 |
import com.spice.profitmandi.service.NotificationService;
|
| 46 |
import com.spice.profitmandi.service.authentication.RoleManager;
|
46 |
import com.spice.profitmandi.service.authentication.RoleManager;
|
| 47 |
import com.spice.profitmandi.service.integrations.icicilombard.IciciLombardService;
|
- |
|
| 48 |
import com.spice.profitmandi.service.integrations.zest.InsuranceService;
|
47 |
import com.spice.profitmandi.service.integrations.zest.InsuranceService;
|
| 49 |
import com.spice.profitmandi.service.integrations.zest.MobileInsurancePlan;
|
48 |
import com.spice.profitmandi.service.integrations.zest.MobileInsurancePlan;
|
| 50 |
import com.spice.profitmandi.service.order.BulkOrderService;
|
49 |
import com.spice.profitmandi.service.order.BulkOrderService;
|
| 51 |
import com.spice.profitmandi.service.order.OrderService;
|
50 |
import com.spice.profitmandi.service.order.OrderService;
|
| 52 |
import com.spice.profitmandi.service.pricing.PricingService;
|
51 |
import com.spice.profitmandi.service.pricing.PricingService;
|
| Line 211... |
Line 210... |
| 211 |
PartnerOnBoardingPanelRepository partnerOnBoardingPanelRepository;
|
210 |
PartnerOnBoardingPanelRepository partnerOnBoardingPanelRepository;
|
| 212 |
|
211 |
|
| 213 |
@Autowired
|
212 |
@Autowired
|
| 214 |
SDCreditService sdCreditService;
|
213 |
SDCreditService sdCreditService;
|
| 215 |
|
214 |
|
| 216 |
@Autowired
|
215 |
/* @Autowired
|
| 217 |
IciciPolicyTrackerRepository iciciPolicyTrackerRepository;
|
216 |
IciciPolicyTrackerRepository iciciPolicyTrackerRepository;*/
|
| 218 |
|
217 |
|
| 219 |
@Autowired
|
218 |
@Autowired
|
| 220 |
ScratchService scratchService;
|
219 |
ScratchService scratchService;
|
| 221 |
|
220 |
/*
|
| 222 |
@Autowired
|
221 |
@Autowired
|
| 223 |
IciciLombardService iciciLombardService;
|
222 |
IciciLombardService iciciLombardService;*/
|
| 224 |
|
223 |
|
| 225 |
@RequestMapping(value = "/wa-send-invoice", method = RequestMethod.GET)
|
224 |
@RequestMapping(value = "/wa-send-invoice", method = RequestMethod.GET)
|
| 226 |
public String sendWhatsappMessage(HttpServletRequest request, @RequestParam(name = ProfitMandiConstants.ORDER_ID) int orderId, Model model) {
|
225 |
public String sendWhatsappMessage(HttpServletRequest request, @RequestParam(name = ProfitMandiConstants.ORDER_ID) int orderId, Model model) {
|
| 227 |
try {
|
226 |
try {
|
| 228 |
this.sendWhatsappInvoice(fofoOrderRepository.selectByOrderId(orderId));
|
227 |
this.sendWhatsappInvoice(fofoOrderRepository.selectByOrderId(orderId));
|