internetee/registry

View on GitHub
app/views/admin/billing/prices/_price.html.erb

Summary

Maintainability
Test Coverage
<tr class="price">
    <td><%= link_to price.zone_name, edit_admin_price_path(price), class: 'edit-price-btn' %></td>
    <td><%= price.duration %></td>
    <td><%= price.operation_category %></td>
    <td><%= number_to_currency price.price %></td>
    <td><%= l price.valid_from, format: :date %></td>
    <td><%= l price.valid_to, format: :date %></td>
</tr>