Commit Graph
9 Commits
Author SHA1 Message Date
Claude fc503fca68 Estimate hours rule, linked issues, issue creation via redmine_qbo_billing
- An appointment's hours can't be less than its estimate's labor hours
  (checked when the estimate or hours change, so the quick status buttons
  still work on older appointments). Picking an estimate on the form, or
  arriving from an estimate page, raises the hours to match.
- The appointment page lists the issues linked to its estimate.
- Creating issues from an estimate moved to redmine_qbo_billing (now
  required): Create Issues from Estimate opens its page with this
  appointment's dates, technician, vehicle and project (via
  qbo_billing_issue_defaults). The builder, preview page, settings and rake
  task are removed here; the old settings stay registered so billing can
  read them until its own are saved.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
2026-10-30 23:11:33 -04:00
Claude 184c1e2464 Add preview page for creating issues from an estimate
- "Create Issues from Estimate" now opens a preview listing each
  matching estimate line: include checkbox, subject (from the line
  description), tracker dropdown, template dropdown and estimated
  hours (from the line quantity)
- Admins set which QBO item codes to look for (e.g. Labor, Alignments)
  and a default tracker in the plugin settings
- Optional redmine_issue_templates support: templates supply the issue
  description; titles still come from the line description
- New appointment_estimate_issues table records which issue came from
  which estimate line, so a line can't be turned into an issue twice;
  deleting the issue frees the line again
- Creation is all-or-nothing; errors are shown on the preview page
- Removes the old Labor-only create_issues_from_labor_lines code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
2026-10-28 20:34:06 -04:00
ricky 9fac291490 removed unused permissions, moved view registration into setup 2026-09-06 21:30:19 -04:00
ricky edd75af01b update the favicon without java script 2026-08-19 08:20:02 -04:00
ricky 3c65700b52 Add customer show hook to display upcoming appointments and refactor appointment list rendering 2026-08-10 15:50:23 -04:00
ricky 9961ae9b03 Add customer actions hook and appointment creation functionality
- Implement customer ID assignment in the appointment creation process.
- Create a new partial for customer actions to render appointment links.
- Add localization for the "Add Appointment" label.
- Introduce CustomerActionsHookListener to manage customer actions rendering.
2026-08-09 21:31:28 -04:00
ricky 88a40b356c Added my page upcoming appointment block 2026-08-07 12:38:50 -04:00
ricky 054e833939 Add CustomerPatch to extend Customer model with appointments association 2026-08-06 19:58:37 -04:00
ricky 790cefdcfe Initial Commit with basic functionality 2026-08-06 13:12:19 -04:00