...
{“comments”:[{“From”:”Portal/webapp”, “user“:<userid>, “date“:<datetime>,”msg”<message> }]}
A special filter should be available on the queryset to retrieve all contract that have the the “amount“ between 2 values following that logic (should be usable by FE):
( if not null amountDue else if not null amountRectified else AmountNotified )
Entity ContractDetails (input) - under Contract (HistoryModel)
...