<% if @title.nil? then @title = "transaction##{@transfer.id}" end %> <%= @title %> :: <%= SITE_TITLE %>

Prague Institute transaction report

#<%= @transfer.id %>

date of reimbursement

<%= @transfer.datum2 %>

date of receipt

<%= @transfer.datum %>

purpose of transaction (description)

<%= @transfer.account_to.popis %>

<%= @transfer.account_to.description %>

amount (currency)

<%= @transfer.amount %>

vendor

<%= @transfer.vendor.presence || ' '.html_safe %>

transaction details

<%= @transfer.popis%>

<% unless (@funds_source.andand.popis.blank? and @responsible_people.blank?) %>

source of funds used

<%= @funds_source.andand.popis.presence || 'N/A' %>

<%= @funds_source.andand.description %>

employees involved

<%= @responsible_people.andand.join(', ').presence || 'N/A' %>

 

<% end %>

Prague Institute internal transaction reference codes

<%= [@transfer.id[0..7], @transfer.seq, @transfer.seq2].compact.join (' / ') %>

<%= @transfer.id %>

czech accountancy codes

<%= [@transfer.account_from.seqofic, @transfer.account_to.seqofic].join(' / ') %>

suggested us ncsu accountancy codes

N/A

Waitig for official list of NCSU GAAP accounting codes.

supporting documents list filenames

<%= link_to 'this in pdf', "/transfers/#{@transfer.id}.pdf"%>, <%= @transfer.documents.collect{|doc| link_to doc, '/documents/'+doc.filename.to_s }.join(', ').html_safe %>

<% @transfer.documents.take(3).each do |doc| %> <%= image_tag 'http://ucet.kub.cz'+doc.thumbnail_url, :width=>210 %> <% end%>