mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-11-17 18:20:36 -05:00
Report when an estimate can't be marked Accepted; show every status on the estimate page
- Accepting sends Accepted by (the customer) with the accepted date, as QuickBooks' own Accept does, and checks what QuickBooks returns. If it keeps the old status or refuses, the Create issues page shows a warning with QuickBooks' message instead of only logging it. - The estimate page's header shows the status badge for every status, Pending included. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
This commit is contained in:
4 files changed
+35
-13
No files matched your search
@@ -18,7 +18,7 @@
|
||||
<% if invoice && form.locked == :paid %>
|
||||
<% fully_paid = form.balance.to_d.zero? %>
|
||||
<span class="qbo-estimate-status qbo-estimate-status-<%= fully_paid ? 'closed' : 'accepted' %>"><%= l(fully_paid ? :label_invoice_paid : :label_invoice_partially_paid) %></span>
|
||||
<% elsif !invoice && form.txn_status.present? && form.txn_status != 'Pending' %>
|
||||
<% elsif !invoice && form.txn_status.present? %>
|
||||
<span class="qbo-estimate-status qbo-estimate-status-<%= form.txn_status.downcase %>"><%= form.txn_status %></span>
|
||||
<% end %>
|
||||
<% else %>
|
||||
|
||||
Reference in new issue
Block a user