grantcallendar/app/views/home/_show.pdf.erb

124 lines
3.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="row">
<div class="col-md-12">
<h3><%= dotation.formal_name %></h3>
</div>
</div>
<div class="row">
<div class="col-md-12">
<br />
</div>
</div>
<% if !dotation.expert_id.blank? && !dotation.expert_info.blank? %>
<div class="row">
<div class="col-md-12">
<table class="table table-bordered">
<thead>
<tr><th colspan="2">Subiektywna opinia eksperta</th></tr>
</thead>
<tbody>
<tr>
<td>
<%= render '/experts/expert_show', expert: dotation.expert %>
</td>
<td><%= raw dotation.expert_info %></td>
</tr>
</tbody>
</table>
</div>
</div>
<% end %>
<br />
<div class="row">
<div class="col-md-12">
<h3>Wielkość przedsiębiorstwa</h3>
</div>
</div>
<div class="row">
<div class="col-md-12">
<% @company_sizes.each do |company_size| %>
<% if dotation.company_sizes.include?(company_size) %>
<%= company_size.name %>&nbsp;&nbsp;
<% end %>
<% end %>
</div>
</div>
<hr />
<div class="row">
<div class="col-md-12">
<table class="table table-bordered">
<tbody>
<tr>
<td width="30%">
<b>Ogłoszenie aktualnego/najbliższego naboru</b>
</td>
<td><%= dotation.announcement_date.strftime("%Y-%m-%d") unless dotation.announcement_date.blank? %></td>
</tr>
<tr>
<td>
<b>Rozpoczęcie aktualnego/najbliższego naboru</b>
</td>
<td><%= dotation.start_date.strftime("%Y-%m-%d") unless dotation.start_date.blank? %></td>
</tr>
<tr>
<td>
<b>Zakończenie aktualnego/najbliższego naboru</b>
</td>
<td><%= dotation.end_date.strftime("%Y-%m-%d") unless dotation.end_date.blank? %></td>
</tr>
<tr>
<td>
<b>Co można dofinansować?</b>
</td>
<td>
<ul>
<% dotation.expenses.each do |expense| %>
<li><%= expense.name %></li>
<% end %>
</ul>
</td>
</tr>
<tr>
<td>
<b>Miejsce realizacji projektu</b>
</td>
<td><%= dotation.localization %></td>
</tr>
<tr>
<td>
<b>Minimalna wartość projektu (wydatków)</b>
</td>
<td><%= change_ammount(dotation.min_amount) %> <%= dotation.min_amount_curr.name %></td>
</tr>
<tr>
<td>
<b>Maksymalna wartość projektu (wydatków)</b>
</td>
<td><%= change_ammount(dotation.max_amount) %> <%= dotation.max_amount_curr.name %></td>
</tr>
</tbody>
</table>
</div>
</div>
<hr />
<div class="row">
<div class="col-md-12">
<h3>Szczegółowy opis dotacji</h3>
</div>
</div>
<div class="row">
<div class="col-md-12">
<%= raw dotation.full_descr %>
</div>
</div>
<hr />
<div class="row">
<div class="col-md-12">
<h3>Pomoc w opracowaniu wniosku komu można zlecić opracowanie dokumentów do tego konkursu</h3>
</div>
</div>
<div class="row">
<div class="col-md-12">
<%= render '/partners/partner_show', partner: dotation.partner %>
</div>
</div>