Sha256: fa7d20889e0fdf268c585c57c413d5773e240ea2dbf9235a3872b438a92659db
Contents?: true
Size: 1.11 KB
Versions: 1
Compression:
Stored size: 1.11 KB
Contents
<td><%= model.refund_uuid %></td> <td> <p><%= link_to model.order.uuid, { controller: 'orders', action: 'show', id: model.order_id } %></p> <p><%= link_to model.payment.payment_uuid, { controller: 'payments', action: 'show', id: model.payment_id } %></p> </td> <td><%= model.total_amount.to_money(model.currency).format %></td> <td><%= model.type_i18n %></td> <td><time data-controller="time"><%= model.created_at.to_s(:rfc822) %></time></td> <td><%= model.state_i18n %></td> <td><%= model.comment %></td> <td> <% if model.refunded_at %> <time data-controller="time"><%= model.refunded_at.to_s(:rfc822) %></time> <% else %> <div class="buttons are-small"> <%= button_to 'Approve', { action: 'confirm', id: model.id }, method: :patch, data: { confirm: t('.confirm') }, class: 'button is-primary' %> <div class="or"></div> <%= button_to 'Deny', { action: 'deny', id: model.id }, method: :patch, data: { confirm: 'Deny model!' }, class: 'button is-danger' %> </div> <% end %> <% if model.reason %> <p><%= model.reason.truncate(27) %></p> <% end %> </td> <td><%= model.operator&.name %></td>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_trade-0.0.3 | app/views/trade/admin/refunds/_index_tbody.html.erb |