Subversion Repositories SmartDukaan

Rev

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

Rev 33548 Rev 33549
Line 1026... Line 1026...
1026
            scheme.setName("Super Retailer Club");
1026
            scheme.setName("Super Retailer Club");
1027
            scheme.setStartDateTime(LocalDate.of(2024, 2, 1).atStartOfDay());
1027
            scheme.setStartDateTime(LocalDate.of(2024, 2, 1).atStartOfDay());
1028
            scheme.setEndDateTime(LocalDate.of(2024, 6, 30).atTime(LocalTime.MAX));
1028
            scheme.setEndDateTime(LocalDate.of(2024, 6, 30).atTime(LocalTime.MAX));
1029
            scheme.setTarget(fofoStore.getTarget());
1029
            scheme.setTarget(fofoStore.getTarget());
1030
 
1030
 
1031
            if(scheme.getEndDateTime().isBefore(LocalDateTime.now())) return null;
1031
            if(scheme.getEndDateTime().isAfter(LocalDateTime.now())) return null;
1032
        }
1032
        }
1033
        return scheme;
1033
        return scheme;
1034
    }
1034
    }
1035
 
1035
 
1036
    @Override
1036
    @Override