Commit Graph
69 Commits
Author SHA1 Message Date
Claude 9121e079a0 Fold redmine_qbo_billing into redmine_qbo
Estimates, invoices and payments written in Redmine, issues from estimates,
and the QuickBooks product/service list and accounts are now part of this
plugin (the RedmineQboBilling code, its controllers, views, strings and
permissions), so there's one plugin and one version instead of two that had
to match.

- The customer page, estimate and invoice lists and the issue page render the
  Create Estimate / Create invoice / Receive payment and Edit links directly;
  the hooks that only existed to let billing add them are gone. Users without
  the billing permissions still get the links to QuickBooks.
- Migrations 043-046 create the items and accounts tables and the estimate
  line links, skipping whatever an existing database already has
  (redmine_qbo_lineitems' tables are used as they are), and copy calendar's
  existing estimate line links in.
- The billing settings are a section of this plugin's settings page.
- The hooks other plugins use stay: qbo_billing_issue_values,
  qbo_billing_validate, qbo_billing_issue_defaults, qbo_billing_issues_created
  and view_qbo_estimate_contextual.
- rake redmine_qbo:relate_estimate_issues

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
2026-10-30 23:47:01 -04:00
Claude 48a4185c16 Replaceable Create Payment link on the customer page
view_customers_show_payment_link lets a plugin replace the link that opens
QuickBooks' receive payment screen (redmine_qbo_billing receives payments in
Redmine).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
2026-10-30 23:28:32 -04:00
Claude afca8eb6ea Estimate hooks: replaceable Create Estimate link and per-estimate actions
view_customers_show_estimate_link lets a plugin replace the customer page's
Create Estimate link (which opens QuickBooks). view_estimate_actions adds
links after an estimate on the customer page's list and the issue page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
2026-10-29 23:56:07 -04:00
Claude 6ec8853508 Customer page: actions in the contextual area, with a plugin hook
- New issue, Create estimate, Create payment and Edit now sit in
  Redmine's top-right contextual area (icons, like issue pages) instead
  of an "Actions" column next to the customer details
- New view hook :view_customers_show_contextual (context: customer) for
  plugins to add their own action links there; replaces
  customer_actions_top / customer_actions_bottom (README updated)
- The New issue link still picks up the estimate / vehicle ticked on the
  page (script moved to customers/_new_issue_link_script)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
2026-10-29 23:29:46 -04:00
Claude 0dd3073841 Customer page: Edit link in the contextual area instead of a button
Moves "Edit customer" from a button under the actions list to Redmine's
standard top-right contextual area (pencil icon, "e" access key), shown
only to users with Edit customers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
2026-10-29 22:56:06 -04:00
ricky 7149e85d37 Updated how settings are handled.
Note: Breaking change. Will need to update settings after update
2026-03-21 10:25:46 -04:00
ricky 8ba99b7db2 Fixed eager loading issues 2026-03-04 19:18:06 -05:00
ricky 92460392b9 Refactor estimates and invoices rendering to use local variables for the abilty for other plugins to display filtered lists 2026-01-31 12:45:47 -05:00
ricky c3d7c1c867 Use symbols 2026-01-30 16:58:14 -05:00
ricky b80e1d4e28 loose the hash rocket, use symbol keys 2026-01-29 22:30:59 -05:00
ricky d63bf809f2 Merge branch 'redmine-6' into dev-6 2026-01-26 10:16:40 -05:00
ricky c1af031d22 Link to sandbox if enabled 2026-01-23 21:40:08 -05:00
ricky 4ae9374401 Merge branch 'redmine-6' into dev-6 2026-01-22 21:50:40 -05:00
ricky 4983cd661c Fixed missing locale 2026-01-22 21:49:33 -05:00
ricky 3c2f1d0edd Merge branch 'redmine-6' into HEAD 2026-01-22 20:39:20 -05:00
ricky a5de879260 Fixed formatting 2024-08-26 08:41:56 -04:00
ricky 6464e1cbc6 Added actions 2024-08-26 07:58:40 -04:00
ricky 938999db91 Added quickbooks to customer's name 2024-03-28 12:54:36 -04:00
ricky 26433c9020 Added hour totals to customer job history 2023-01-14 06:38:48 -05:00
ricky a531ef4f87 Added hour totals to customer job history 2023-01-14 06:20:41 -05:00
ricky 8bdec410c4 Fixed render of hook :show_customer_view_right 2022-03-17 06:12:35 -04:00
ricky 2745ecf242 Added call_hook :show_customer_view_right 2022-03-14 07:52:33 -04:00
ricky b686110145 Initial Vehicle Delete 2022-03-14 07:22:43 -04:00
ricky 8b4a46f7eb H3 not H2 2022-03-06 16:27:39 -05:00
ricky 64a7ad844f Styling & formatting 2022-03-06 13:46:26 -05:00
ricky 70e6038215 Moved customer issue counts 2022-02-20 15:22:31 -05:00
ricky a459d84b00 Added Estimate & Invoice List to Customer view 2022-02-19 21:19:08 -05:00
ricky d6aebfcb99 Moved strings to Ruby I18n en.yml 2022-02-19 20:46:39 -05:00
ricky 5d7fc9dabd Don't include open issues in closed issue list 2020-03-28 20:39:04 -04:00
ricky 279e8b15e0 Added open/closed issue lists for customer/vehicles 2020-01-24 13:54:26 -05:00
ricky a0da53b6cf Fixed formatting & removed search from heading 2018-10-15 21:10:41 -04:00
ricky 558e2359f7 Added partial customers/search & fixed formatting 2018-09-19 09:45:36 -04:00
ricky 41195dc095 Update show.html.erb 2016-09-18 22:55:12 -04:00
ricky 4f613d3fe1 Update show.html.erb 2016-09-18 22:52:48 -04:00
ricky 1c7cdec600 Update show.html.erb 2016-09-18 22:41:24 -04:00
ricky 7ae60c0e62 Update show.html.erb 2016-09-18 22:38:26 -04:00
ricky 5dd04925e0 Update show.html.erb 2016-09-18 22:37:23 -04:00
ricky 92eedbd4d3 Update show.html.erb 2016-09-18 22:32:45 -04:00
ricky 475c86eabe Update show.html.erb 2016-08-04 09:52:32 -04:00
ricky 259737a488 Update show.html.erb 2016-08-04 09:51:47 -04:00
ricky 362cb77381 Update show.html.erb 2016-08-04 09:50:55 -04:00
ricky 8cfab17136 Update show.html.erb 2016-08-04 09:50:37 -04:00
ricky 8f87eb3e60 Update show.html.erb 2016-08-04 09:48:19 -04:00
ricky 2b093903b3 Update show.html.erb 2016-08-04 09:46:22 -04:00
ricky 05017dcc4f Update show.html.erb 2016-08-04 09:45:39 -04:00
ricky 0e9b5fa17a Update show.html.erb 2016-08-04 09:44:09 -04:00
ricky a3b5ad0cb0 Update show.html.erb 2016-08-03 21:16:31 -04:00
ricky bf21451819 Update show.html.erb 2016-08-03 21:15:40 -04:00
ricky c6d3d9673b Update show.html.erb 2016-08-03 21:15:03 -04:00
ricky 3f5334a92d Update show.html.erb 2016-08-03 21:14:25 -04:00