diff --git a/Koha/Cash/Register/Cashup.pm b/Koha/Cash/Register/Cashup.pm index 01ffb9fcb4..7e6ba1ac64 100644 --- a/Koha/Cash/Register/Cashup.pm +++ b/Koha/Cash/Register/Cashup.pm @@ -285,6 +285,21 @@ sub _get_session_boundaries { return ( $session_start, $session_end ); } +=head3 _get_session_end + +Internal method to determine the effective end timestamp of the session +this cashup closes. + +For a one-phase cashup, the session ends at C<< $self->timestamp >>. +For a two-phase workflow (a preceding C with no intervening +C), the session ends at the C timestamp so that +transactions made between C and C are excluded +from this cashup's summary. + +Returns the session end timestamp. + +=cut + sub _get_session_end { my ($self) = @_; diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/modals/cashup_summary.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/modals/cashup_summary.inc index cd50307449..970115594c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/modals/cashup_summary.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/modals/cashup_summary.inc @@ -23,7 +23,7 @@ -