Commit d9c70bd5 authored by Kaspar Vollenweider's avatar Kaspar Vollenweider

Merge branch 'fix/semester-filter-billing-expenses' into 'develop'

Bug: Filter Semester auf Spesenformular funktioniert nicht wie erwünscht

See merge request !1079
parents 2bc56731 4463f05d
Pipeline #90023 passed with stages
in 20 minutes and 59 seconds
......@@ -65,8 +65,8 @@ class Hour < ApplicationRecord
scope :semester_with_date, lambda { |date|
date_between_inclusion(
:meeting_date,
date,
date.advance(months: BillingExpense::SEMESTER_LENGTH)
date.to_date,
date.advance(months: BillingExpense::SEMESTER_LENGTH).advance(days: -1).to_date
)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment