Here is the Apex controller:

Here is the Visualforce Page:

Here is the trigger for when transactions are inserted