fix that there too

This commit is contained in:
24c02 2025-07-17 18:41:19 -04:00
parent f0ae07ebfe
commit 472c78f46c

View file

@ -133,7 +133,7 @@
Mark All Printed
<% end %>
<% end %>
<% if @batch.letters.any? && @batch.letters.all?(&:printed?) %>
<% if @batch.letters.any? && @batch.letters.any?(&:printed?) %>
<%= button_to mark_mailed_letter_batch_path(@batch), method: :post, class: "btn btn-block btn-info", data: { confirm: "Are you sure you want to mark all letters as mailed?" } do %>
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-1" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"/>