Rende usabili i filtri destinatari e permette di eliminare le bozze email.
CI / scan_ruby (push) Failing after 12m54s
CI / scan_js (push) Successful in 12m34s
CI / lint (push) Failing after 13m10s

Le listbox non applicavano sport e altri criteri; ora i filtri sono checkbox, c'è «mai contattati» e dal cruscotto si cancellano le bozze. La lista organizzazioni allinea le colonne al foglio campagna.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-07 07:57:50 +02:00
co-authored by Cursor
parent e492c43bf8
commit 3e73e708e4
16 changed files with 1114 additions and 90 deletions
@@ -27,4 +27,15 @@ class OrganizationsControllerTest < ActionDispatch::IntegrationTest
assert_no_match(/ASD Test Calcio/, response.body)
assert_select "select[name=sport] option[value='Calcio a 5'][selected]"
end
test "index table uses campaign spreadsheet columns" do
login_as users(:admin)
get organizations_path(project_code: "matchlivetv")
assert_response :success
%w[N. Regione Prov. Società Email\ verificata Streaming\ rilevato Evidenza\ /\ fit\ commerciale Stato\ invio Fonte\ contatto\ /\ ricerca Note\ follow-up].each do |header|
assert_select "th", text: header
end
assert_select "th", text: "Organizzazione", count: 0
end
end