Sha256: 8e22f0ae8561e478083860a2da0617d44c23da1b232f2161abc9a01c9cb6eb80
Contents?: true
Size: 858 Bytes
Versions: 11
Compression:
Stored size: 858 Bytes
Contents
<table class="index" data-hook="adjustments"> <tr data-hook="adjustmment_head"> <th><%= "#{t('spree.date')}/#{t('spree.time')}" %></th> <th><%= t(:description) %></th> <th><%= t(:amount) %></th> <th></th> </tr> <% @order.adjustments.each do |adjustment| @edit_url = edit_admin_order_adjustment_path(@order, adjustment) @delete_url = admin_order_adjustment_path(@order, adjustment) %> <tr id="<%= dom_id(adjustment) %>" data-hook="adjustment_row"> <td><%= adjustment.created_at.to_s(:date_time24) %></td> <td><%= adjustment.label %></td> <td><%= number_to_currency adjustment.amount %></td> <td class='actions'> <%= link_to_edit adjustment, :class => 'edit' %> <%= link_to_delete adjustment, {}, :class => 'delete' %> </td> </tr> <% end %> </table>
Version data entries
11 entries across 11 versions & 1 rubygems