Subversion Repositories SmartDukaan

Rev

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

Rev 35721 Rev 35730
Line 1024... Line 1024...
1024
        return result;
1024
        return result;
1025
    }
1025
    }
1026
 
1026
 
1027
    @Override
1027
    @Override
1028
    public List<CalledPartnerDetailModel> getCalledPartnerDetails(int authId) throws ProfitMandiBusinessException {
1028
    public List<CalledPartnerDetailModel> getCalledPartnerDetails(int authId) throws ProfitMandiBusinessException {
-
 
1029
        return getCalledPartnerDetails(authId, LocalDate.now());
-
 
1030
    }
-
 
1031
 
-
 
1032
    @Override
-
 
1033
    public List<CalledPartnerDetailModel> getCalledPartnerDetails(int authId, LocalDate date) throws ProfitMandiBusinessException {
1029
        LocalDate today = LocalDate.now();
1034
        LocalDate today = date;
1030
        LocalDateTime startDate = today.atStartOfDay();
1035
        LocalDateTime startDate = today.atStartOfDay();
1031
        LocalDate firstOfMonth = today.withDayOfMonth(1);
1036
        LocalDate firstOfMonth = today.withDayOfMonth(1);
1032
        LocalDate endOfMonth = today.withDayOfMonth(today.lengthOfMonth()).plusDays(1);
1037
        LocalDate endOfMonth = today.withDayOfMonth(today.lengthOfMonth()).plusDays(1);
1033
 
1038
 
1034
        // Get auth user
1039
        // Get auth user