mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-11-17 18:20:36 -05:00
A new invoice lists the customer's open issues (any project, those the user can see) in a warning under the title, so work orders aren't left open once the work is billed. It's there when the page opens with a customer (from the customer page or an estimate) and follows the customer when it's changed: customer_info returns open_issues_html for invoices. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 lines
325 B
ERB
6 lines
325 B
ERB
<% html_title l(:label_new_invoice) %>
|
|
|
|
<%= render partial: 'qbo_estimates/header', locals: { form: @form } %>
|
|
<%= render partial: 'qbo_invoices/open_issues', locals: { customer: (Customer.find_by(id: @form.customer_id) if @form.customer_id.present?) } %>
|
|
<%= render partial: 'qbo_estimates/form', locals: { form: @form } %>
|