Added manual sync links

This commit is contained in:
2026-03-15 08:01:04 -04:00
parent db3c6021c5
commit c9a5dc20f9
4 changed files with 119 additions and 127 deletions

View File

@@ -27,6 +27,11 @@ class InvoiceController < ApplicationController
redirect_back fallback_location: root_path, flash: { error: I18n.t(:notice_invoice_not_found) }
end
def sync
Invoice.sync
redirect_to :home, flash: { notice: I18n.t(:label_syncing) }
end
private
# Logs messages with a consistent prefix for easier debugging.