Subversion Repositories SmartDukaan

Rev

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

Rev 32218 Rev 32219
Line 620... Line 620...
620
 
620
 
621
        LocalDate startDate = LocalDate.of(2023, 07, 22);
621
        LocalDate startDate = LocalDate.of(2023, 07, 22);
622
        LocalDate endDate = LocalDate.of(2023, 07, 23);
622
        LocalDate endDate = LocalDate.of(2023, 07, 23);
623
 
623
 
624
 
624
 
625
        if (smartPhone) {
625
        if (smartPhone && fofoId == 175139406) {
626
            LOGGER.error("hellloooo23 {}", "kjhkjhkjhkjhkjhkjh23");
-
 
627
 
626
 
628
            if (LocalDateTime.now().isAfter(startDate.atStartOfDay()) && LocalDateTime.now().isBefore(endDate.atStartOfDay())) {
627
            if (LocalDateTime.now().isAfter(startDate.atStartOfDay()) && LocalDateTime.now().isBefore(endDate.atStartOfDay())) {
629
 
628
 
630
                try {
629
                try {
631
                    this.sendAppDownloadBillingOffer(customer.getMobileNumber());
630
                    this.sendAppDownloadBillingOffer(customer.getMobileNumber());
632
                } catch (Exception e) {
631
                } catch (Exception e) {
633
                    // TODO Auto-generated catch block
632
                    // TODO Auto-generated catch block
634
                    e.printStackTrace();
633
                    e.printStackTrace();
635
                }
634
                }
636
                LOGGER.info("hellloooo {}", "kjhkjhkjhkjhkjhkjh");
-
 
637
 
635
 
638
                this.createScratchOffer(fofoId, fofoOrder.getInvoiceNumber(), fofoOrder.getCustomerId());
636
                this.createScratchOffer(fofoId, fofoOrder.getInvoiceNumber(), fofoOrder.getCustomerId());
639
            }
637
            }
640
        }
638
        }
641
        return fofoOrder.getId();
639
        return fofoOrder.getId();