Sha256: 112499be6b8b9ff8a38e3acad6c1ae868181f62e8fdb8d175caedbadbafa8147

Contents?: true

Size: 968 Bytes

Versions: 1

Compression:

Stored size: 968 Bytes

Contents

<td><%= model.card_template.name %></td>
<td>
  <p><%= model.user&.name %></p>
</td>
<td><%= model.card_uuid %></td>
<td>
  <p><time data-controller="time"><%= model.effect_at.to_s(:rfc822) %></time></p>
  <p><time data-controller="time"><%= model.expire_at.to_s(:rfc822) %></time></p>
</td>
<td><%= model.amount %></td>
<td>
  <p>
    <%= model.income_amount %>
    <%= link_to({ controller: 'card_advances', card_id: model.id }, aria: { label: t('trade.admin.card_advances.index.title') }, class: 'button is-small is-rounded is-light') do %>
      <i class="fas fa-gem"></i>
    <% end %>
  </p>
  <p>
    <%= model.expense_amount %>
    <%= link_to({ controller: 'card_payments', card_id: model.id }, aria: { label: t('trade.admin.card_payments.index.title') }, class: 'button is-small is-rounded is-light') do %>
      <i class="fas fa-credit-card"></i>
    <% end %>
  </p>
</td>
<td><time data-controller="time"><%= model.created_at.to_s(:rfc822) %></time></td>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_trade-0.0.3 app/views/trade/admin/cards/_index_tbody.html.erb