def get(self, date_from, date_to): date_from2 = DateTime.first_day_of_month(date_from) date_to2 = DateTime.last_day_of_month(date_to) # get charge summary_by_day = TopUpSummaryByDay() return summary_by_day.__get(date_from2, date_to2, '%Y%m')
def get(self, date_from, date_to): date_from2 = DateTime.first_day_of_month(date_from) date_to2 = DateTime.last_day_of_month(date_to) return self.__get(date_from2, date_to2, '%Y%m')
def get_by_month(self, date_from, date_to): date_from2 = DateTime.first_day_of_month(date_from) date_to2 = DateTime.last_day_of_month(date_to) return self.__get(date_from2, date_to2, date_format='%Y%m')
def get_by_month_and_attendant(self, date_from, date_to, attendant_code): date_from2 = DateTime.first_day_of_month(date_from) date_to2 = DateTime.last_day_of_month(date_to) return self.__get_by_day_and_attendant(date_from2, date_to2, attendant_code, '%Y%m')