]> git.koha-community.org Git - koha.git/commit
Bug 24820: Use 'date' instead of 'timestamp' for cashup
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 6 Mar 2020 11:38:03 +0000 (11:38 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 15 Apr 2020 07:33:50 +0000 (08:33 +0100)
commit909e172c17d0bb69fa9f9a25bf7d075b7dcc99c2
treed72e51e23c2f184ab6c46415e5b17cd8ab5a0a0c
parent0a1fdaf9f22016dddc1c324a62e4ff52276e9aba
Bug 24820: Use 'date' instead of 'timestamp' for cashup

Prior to this patch we were comparing cash register action timestamp to
accountlines date fields to fetch the list of outstanding accountlines.

accountlines.date is a transient field used as 'updated_on' and so this
was a logical mistake. We should be using the 'date' field which is
fixed 'created_on' time.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Cash/Register.pm