* customers#filter_estimates_by_customer and #filter_invoices_by_customer,
their routes, permission entries and template: they filled an estimate
dropdown on the old issue form, which is gone.
* Routes with no action: accounts new/create/show/edit/update/destroy
(only index, Set default and Sync exist) and customers#destroy.
* Unused methods: AuthHelper#require_user, #allowed_to?, #check_permission;
CustomersController#address_to_s; CustomerToken#expired? and
.remove_expired_tokens; QboBaseModel#skip_qbo_push?;
QboDraft.writable_document?; SyncServiceBase#extract_value.
* CustomersController's before_action helpers are private.
* The unused .autocomplete-meta style and 28 unused translation keys.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* The invoice list's paid badge is short so each invoice stays on one
line: "Paid", or "Paid +3d" when it was paid in full 3 days after
its date, with the day on hover. The invoice page keeps the date.
* The estimate and invoice lists are laid out in columns (checkbox,
number, date, status, actions), so the edit/view icons line up.
* Ticked estimates (and redmine_qbo_vehicles' vehicles) fill in
redmine_qbo_calendar's Add appointment link (estimate_id,
vehicle_id) as well as New issue. Estimate checkboxes are only on
the customer page, where they're used.
* application.js is gone: it only carried the old Google Calendar
link code, which threw an error when a box was ticked on a vehicle
page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each type appears only on the overall activity page, and only for users who may see it:
estimates need View customers or Write estimates, invoices View customers or Write invoices,
and payments View or Receive payments.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The title is a trail back to the customer list, like Redmine's pages, instead of "Customer #id - name"
- The action links sit on their own line under the title (qbo-under-title, also used by
redmine_qbo_vehicles), so a long name and the many actions don't crowd each other
- Open in QuickBooks joins the action links, as on the payments, invoice and estimate pages, in place of
the name linking to QuickBooks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- This week and last week periods; weeks start on Redmine's "Start calendars on" day
- Sales and Hours line charts above the bars, same figures and colors, drawn with
Redmine's bundled Chart.js: a point per day (a week), week (up to ~3 months) or month
- "Compare with last year" toggle adds dashed, faded last-year lines instantly and is
kept in the URL; days/weeks go back 52 weeks so weekdays line up, months to the same month
- Legend: one entry per figure (hides both years' lines) plus a single "last year" entry
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM