Commit Graph
207 Commits
Author SHA1 Message Date
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 b99887362f Customer new/edit pages in Redmine's form style
- labelled_form_for with Redmine's "box tabular" layout: labels on the
  left, Display name marked required
- Breadcrumb headings ("Customers » customer"), Create/Save buttons and
  a Cancel link back to the customer (or the customer list)
- Keeps the form tag in the partial and the customer_name / customer_notes
  ids used by redmine_qbo_calendar's quick-create popup (hide_submit /
  hide_toolbar still supported)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
2026-10-29 23:23:18 -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 aacc2d645d Refactor customer form layout for improved readability and structure 2026-10-23 09:34:50 -04:00
ricky bab019a152 Implement global permissions for customer actions and update views to check permissions before rendering buttons 2026-09-08 22:35:52 -04:00
ricky 9dc4b79355 Refactor customer controller and form to enhance error handling and conditional rendering 2026-08-24 20:17:21 -04:00
ricky b72c82fb2b Dynamically update the link with estimate id 2026-08-17 21:03:37 -04:00
ricky b901e64149 added new issue link to actions 2026-08-17 20:40:42 -04:00
ricky 75e5aeb668 Refactor customer details and form views for improved readability and consistency 2026-08-11 18:39:23 -04:00
ricky 938f9d9f3b Add customer action hooks to _actions.html.erb for enhanced integration 2026-08-09 21:09:56 -04:00
ricky 6bf84dd61a Added payment link 2026-07-01 14:06:02 -04:00
ricky 4a6c414d9e Updated customer form to use auto complete to help prevent duplicate customer enteries 2026-03-26 07:56:59 -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 ee2ab04206 added placeholder 2026-03-19 18:15:04 -04:00
ricky cc36bc16b4 use the autocomplete 2026-03-19 10:36:46 -04:00
ricky eb1174cf7c Updated manual sync to to allow full or partial sync 2026-03-14 15:36:39 -04:00
ricky 8ba99b7db2 Fixed eager loading issues 2026-03-04 19:18:06 -05:00
ricky 485a977d1a Use Safe Navigation Operator &. 2026-03-01 21:31:28 -05:00
ricky 3728ec2a12 Refactor: Improve address formatting in CustomersController and enhance HTML rendering for billing and shipping addresses 2026-03-01 00:40:11 -05:00
ricky 3514401808 Add unique IDs to search forms for customers and estimates 2026-02-21 19:07:40 -05:00
ricky ff038fe5ae removed method: :get from estimate link 2026-02-09 10:41:48 -05:00
ricky d8d34540a9 use link_to, as button_to doesn't allow for openign links in a new tab 2026-02-09 10:35:12 -05:00
ricky ef86d222cb Removed change link button 2026-02-08 19:52:17 -05:00
ricky f4a979672f update link on change 2026-02-08 19:45:58 -05:00
ricky 5d7d9a81bb inital start of using javascript to update the appointment link with selected document links 2026-02-06 17:58:02 -05:00
ricky b030f85b74 Botton_to didn't work for google cal link 2026-02-04 21:39:18 -05:00
ricky 928e632dd3 converted links to buttons 2026-01-31 21:02:22 -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 f1bdf59697 Add customer details translation and fix link in appointment action 2026-01-30 23:05:23 -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 c034696810 Disabled showing assinee to customer 2026-01-28 08:38:02 -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 b096244454 Better display of customer note 2026-01-22 21:50:17 -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 f741ce5dc9 Fixed displaying of notes 2026-01-20 21:40:17 -05:00
ricky 9b69d3f728 Added link to customer profile for appointments 2024-08-26 11:00:50 -04: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 395e0117fb Update _actions.html.erb 2024-08-26 07:57:10 -04:00
ricky 3b6c0d4a70 Removed Action links 2024-08-26 07:52:27 -04:00
ricky d1f6ccd9cb Create _actions.html.erb 2024-08-26 07:51:38 -04:00
ricky 74f7ba41df Add Appointment Link 2024-08-21 21:39:50 -04:00
ricky cf0be2336b Removed sync button from sidebar 2024-08-19 23:12:20 -04:00
ricky c7a313e9ed Add customer name to details 2024-04-03 11:47:38 -04:00