Created
December 4, 2014 13:24
-
-
Save gorborukov/97248e5de4d25292bbff to your computer and use it in GitHub Desktop.
soap to table
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% if @soap_daily_price != nil %> | |
<div class="daily"> | |
<h2>Суточные цены</h2> | |
<table class="table"> | |
<tr> | |
<th>Даты размещения</th> | |
<th>Номер</th> | |
<th>Тип размещения</th> | |
<th>Питание</th> | |
<th>Цена, руб</th> | |
</tr> | |
<% @soap_daily_price.each do |daily_price_data| %> | |
<tr> | |
<td><%= daily_price_data[:date_from] %> - <%= daily_price_data[:date_to] %></td> | |
<td><%= daily_price_data[:room_type_name] %> <%= daily_price_data[:room_category_name] %></td> | |
<td><%= daily_price_data[:accomd_name] %></td> | |
<td><%= daily_price_data[:pansion_name] %></td> | |
<td><%= daily_price_data[:price] %></td> | |
</tr> | |
<% end %> | |
</table> | |
</div> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment