| Line 531... |
Line 531... |
| 531 |
|
531 |
|
| 532 |
private void sendWhatsappInvoice(FofoOrder fofoOrder) throws Exception {
|
532 |
private void sendWhatsappInvoice(FofoOrder fofoOrder) throws Exception {
|
| 533 |
Customer customer = customerRepository.selectById(fofoOrder.getCustomerId());
|
533 |
Customer customer = customerRepository.selectById(fofoOrder.getCustomerId());
|
| 534 |
CustomRetailer retailer = retailerService.getFofoRetailer(fofoOrder.getFofoId());
|
534 |
CustomRetailer retailer = retailerService.getFofoRetailer(fofoOrder.getFofoId());
|
| 535 |
String message = String.format("Dear %s,\n" +
|
535 |
String message = String.format("Dear %s,\n" +
|
| 536 |
"Thank you for purchasing from SmartDukaan from our Store %s, %s.\n" +
|
536 |
"Thank you for your purchase from SmartDukaan store - %s, %s.\n" +
|
| 537 |
"Your purchase invoice is attached for your reference.\n" +
|
537 |
"Your purchase invoice is attached for your reference.\n" +
|
| 538 |
"\n" +
|
538 |
"\n" +
|
| 539 |
"Download our app for offers and updates on new products.\n" +
|
539 |
"Download our app for offers and updates on new products.\n" +
|
| 540 |
"https://www.smartdukaan.com/b2c\n" +
|
540 |
"https://www.smartdukaan.com/b2c\n" +
|
| 541 |
"\n" +
|
541 |
"\n" +
|