<%= content_for :sub_navigation do %>
<%= t('links.new_receipt') %>

<%= t('titles.receipts') %>

<% end %> <%= render partial: 'invoice_bar/forms/filter', params: params %> <% @receipts.each do |receipt| %> <% end %>
<%= link_to "# #{t('attributes.receipt.number')}", filter_receipts_url(params.merge(page: 1, sort: 'number')) %> <%= link_to t('attributes.receipt.contact_name'), filter_receipts_url(params.merge(page: 1, sort: 'contact_name')) %> <%= link_to t('attributes.receipt.issue_date'), filter_receipts_url(params.merge(page: 1, sort: 'issue_date')) %> <%= link_to t('attributes.receipt.amount'), filter_receipts_url(params.merge(page: 1, sort: 'amount')) %>
<%= link_to receipt_path(number: receipt.number) do %><%= receipt.number %><% end %> <%= receipt.contact_name %> <%= l(receipt.issue_date) %> <%= formatted_amount(receipt.amount, receipt.account.currency_symbol) %>
<% if @receipts.size == 0 %>
<%= t('invoice_bar.no_data') %>
<% end %> <%= paginate @receipts %>