Skip to content

Commit

Permalink
fix: 보호자 메인 화면과 상세 예약에서 예약 일정 다른 이슈 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
DongwookKim0823 committed Jan 29, 2025
1 parent dee244c commit 0e0a9d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mung_manager/reservations/selectors/reservations.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def get_queryset_by_customer_and_pet_kindergarden_for_detail(
price=F("customer_ticket__ticket__price"),
usage_time=F("customer_ticket__ticket__usage_time"),
used_ticket_count=ExpressionWrapper(
ExtractDay(F("end_at") - F("reserved_at")), output_field=IntegerField()
ExtractDay(F("end_at") - F("reserved_at")) + 1, output_field=IntegerField()
),
)
.values(
Expand Down

0 comments on commit 0e0a9d8

Please sign in to comment.