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

Add js code to see only the lastTransaction of a report