]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1791340 Webstaff: Don't backdate when we're not
authorDan Wells <dbw2@calvin.edu>
Fri, 21 Sep 2018 14:45:59 +0000 (10:45 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 21 Sep 2018 20:47:20 +0000 (16:47 -0400)
commitf106953c692ec0bdfb7a8aaa865a8d69ae56c4ef
tree184a460f413cc0f5c652ccd3afcd1f7b225e191a
parent5ae6a7bf715019fb78eb2d8da1c9693faa533477
LP#1791340 Webstaff: Don't backdate when we're not

There was code in the webstaff checkin interface which attempted to
remove the backdate parameter when it wasn't needed, as its mere
presence has a negative effect on the checkin process.  This fail-safe
was not working, however.

Instead, let's build on the same check function used for the display,
so we can be more sure that if the user doesn't see that they are
backdating, the interface will not treat it as a backdate, and
vice-versa.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/circ/checkin/app.js