<% if transaction.transaction_type == 'request' %>
  <%= transaction.request.requester.first_name %> has made a request.
<% elsif transaction.type == 'response' %>
  ><%= transaction.request.responder.first_name %> has responded to <%= transaction.request.requester.first_name %>'s request!
<% elsif transaction.type == 'fulfillment' %>
  <%= transaction.request.responder.first_name %> has fulfilled <%= transaction.request.requester.first_name %>'s request!
<% else %>
  Poop
<% end %>

<% if transaction.transaction_type == 'request' %>
  <%= transaction.request.requester.first_name %> has made a request.
<% elsif transaction.transaction_type == 'response' %>
  <%= transaction.request.responder.first_name %> has responded to <%= transaction.request.requester.first_name %>'s request!
<% elsif transaction.transaction_type == 'fulfillment' %>
  <%= transaction.request.responder.first_name %> has fulfilled <%= transaction.request.requester.first_name %>'s request!
<% else %>
  Poop
<% end %>

Fix var type to transaction_type
Fix var type to transaction_type
