add more ammo type fields, filter index columns

This commit is contained in:
2022-02-15 22:33:36 -05:00
parent f30acd7fe2
commit 2ac379adaf
11 changed files with 192 additions and 108 deletions

View File

@ -38,7 +38,8 @@ defmodule CanneryWeb.Components.AmmoGroupCard do
<%= if @ammo_group.price_paid do %>
<span class="rounded-lg title text-lg">
<%= gettext("Price paid:") %> <%= gettext("$%{amount}", amount: @ammo_group.price_paid |> :erlang.float_to_binary(decimals: 2)) %>
<%= gettext("Price paid:") %>
<%= gettext("$%{amount}", amount: @ammo_group.price_paid |> :erlang.float_to_binary(decimals: 2)) %>
</span>
<% end %>
</div>