Updated settings page

This commit is contained in:
2026-03-17 21:23:29 -04:00
parent 3e6650ee65
commit f60e507029
5 changed files with 101 additions and 96 deletions

View File

@@ -24,6 +24,11 @@ class EstimateController < ApplicationController
render_pdf(@estimate)
end
def sync
Estimate.sync
redirect_to :home, flash: { notice: I18n.t(:label_syncing) }
end
private
# Loads the estimate based on ID or doc number, with a fallback to sync if not found locally.