Skip to content

The transaction history should base on the operation logs and not on the loans #1227

@iGormilhit

Description

@iGormilhit

How it works

In the history tab of the patron profile (public interface) and in the patron account of the professional interface, the loan transaction history has errors:

  1. display of the date at which the item should have been returned, not the actual checkin date. This is the case in the checkin column and in the transaction history itself (see screenshot below).
    patron-history-wrong-checkin-date

  2. sometimes no display of a line (because the item was deleted, or for other reasons)
    Example in production: patron.pid:27115 (vs)
    image

How it should works

All data are recovered from the operation logs:

  1. The checkin date displayed should be the actual checkin date (in my example, it was the 2020-09-17, not the 2020-10-15).
    The checkin date is displayed for each fee in the fee tab.
  2. Loans on deleted items are still displayed

Related issue

Metadata

Metadata

Assignees

Labels

bugBreaks something but is not blockingf: circulationConcerns the circulation interface or backendf: professional uiProfessional interfacef: public uiPublic interface, as opposed to the professional interface

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions