Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

[1121] view returned overdue #1197

Merged
merged 1 commit into from
Jun 8, 2015
Merged

[1121] view returned overdue #1197

merged 1 commit into from
Jun 8, 2015

Conversation

squidgetx
Copy link
Contributor

Resolves #1121. Allows viewing of returned overdue reservations in the reservations index tabs.

@orenyk
Copy link
Contributor

orenyk commented Mar 23, 2015

Can we add the late fee somewhere? Maybe on the reservation page so we don't have to complicate the index, or alternatively add an optional column to the table that is only shown with that filter.

@orenyk
Copy link
Contributor

orenyk commented Apr 7, 2015

Ha, while testing this out I encountered the broken returned_overdue status bug introduced by #939, this should be fixed once #462 has been merged in.

@orenyk
Copy link
Contributor

orenyk commented Apr 7, 2015

This looks good; one thing that strikes me is that the query on the reservation index page is based on the start_date, which isn't entirely intuitive for returned overdue, since you'd probably want to query by checkin_date, but I think it's fine to leave as is. Feel free to squash / merge unless you agree and feel like trying to improve the UX.

@squidgetx
Copy link
Contributor Author

I think that's a valid concern but out of scope for this issue

@orenyk
Copy link
Contributor

orenyk commented May 27, 2015

Sounds good. Mind updating the commit message to match the CONTRIBUTING guidelines and update the CHANGELOG? Thanks!

:requested, :approved_requests, :denied]
@filters << :missed unless AppConfig.check(:res_exp_time)
@filters = [:reserved, :checked_out, :overdue, :returned, :returned_overdue,
:upcoming, :requested, :approved_requests, :denied]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 Extra space

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@squidgetx squidgetx force-pushed the 1121_returned_overdue branch from 55b2931 to 1fe78a3 Compare June 8, 2015 07:52
…ndex page.

Closes #1121
* Overdue table also shows late fee
@squidgetx squidgetx force-pushed the 1121_returned_overdue branch from 1fe78a3 to f013b36 Compare June 8, 2015 07:58
squidgetx added a commit that referenced this pull request Jun 8, 2015
@squidgetx squidgetx merged commit 4c63b83 into master Jun 8, 2015
@orenyk orenyk deleted the 1121_returned_overdue branch October 27, 2015 19:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Report for Reservations returned overdue
3 participants