<%# locals: (entry:) %>

<%= format_money -entry.amount_money %> <%= entry.currency %> <% if entry.transaction.transfer? %> <%= icon "arrow-left-right", size: "sm", class: "text-secondary" %> <% end %> <% if entry.linked? %> " class="text-secondary"> <%= icon("refresh-ccw", size: "sm") %> <% end %>

<%= entry.date ? I18n.l(entry.date, format: :long) : "—" %> <% if entry.transaction.pending? %> <%= render DS::Pill.new( label: t("transactions.transaction.pending"), tone: :neutral, marker: false, icon: "clock", title: t("transactions.transaction.pending_tooltip") ) %> <% end %>