Subversion Repositories SmartDukaan

Rev

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

Rev 33606 Rev 33611
Line 1035... Line 1035...
1035
            scheme.setName("Super Retailer Club");
1035
            scheme.setName("Super Retailer Club");
1036
            scheme.setStartDateTime(LocalDate.of(2024, 2, 1).atStartOfDay());
1036
            scheme.setStartDateTime(LocalDate.of(2024, 2, 1).atStartOfDay());
1037
            scheme.setEndDateTime(LocalDate.of(2024, 6, 30).atTime(LocalTime.MAX));
1037
            scheme.setEndDateTime(LocalDate.of(2024, 6, 30).atTime(LocalTime.MAX));
1038
            scheme.setTarget(fofoStore.getTarget());
1038
            scheme.setTarget(fofoStore.getTarget());
1039
 
1039
 
1040
            if(scheme.getEndDateTime().isAfter(LocalDateTime.now())) return null;
1040
            if (scheme.getEndDateTime().isBefore(LocalDateTime.now())) return null;
1041
        }
1041
        }
1042
        return scheme;
1042
        return scheme;
1043
    }
1043
    }
1044
 
1044
 
1045
    @Override
1045
    @Override