feat(report): Add a last transaction mode (refs #4454)

Add js code to see only the lastTransaction of a report