mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-11-18 02:20:37 -05:00
Make billed estimates read-only
An estimate that's Converted or Closed in QuickBooks, or linked to an invoice, opens read-only and is refused on save (this includes redmine_qbo_lineitems' estimates once invoiced). Its page lists the invoices it's on. Estimates cache their status so lists show View instead of Edit for them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
This commit is contained in:
10 files changed
+45
-23
No files matched your search
@@ -134,6 +134,7 @@ en:
|
||||
error_estimate_changed_in_quickbooks: "This estimate was changed in QuickBooks after you opened it, so it wasn't saved."
|
||||
error_estimate_field_invalid: "%{field} is not valid"
|
||||
error_estimate_linked_to_issues: "This estimate is linked to these issues, so it can't be changed here. Duplicate it to make a new estimate:"
|
||||
error_estimate_billed: "This estimate has been billed (turned into an invoice), so it can't be changed here. Duplicate it to make a new estimate."
|
||||
error_estimate_has_bundles: "This estimate has bundles, which can only be edited in QuickBooks."
|
||||
error_estimate_line_description: "Line %{line} needs a description, a product or service, or a rate"
|
||||
error_estimate_line_number: "Line %{line} has a quantity or rate that isn't a number"
|
||||
@@ -177,7 +178,6 @@ en:
|
||||
text_clear_all_lines_confirmation: "Clear all lines?"
|
||||
text_email_estimate_confirmation: "Email estimate #%{number} to %{email}?"
|
||||
text_estimate_duplicated_from: "Copied from estimate #%{number}. It's saved as a new estimate."
|
||||
text_estimate_closed: "This estimate is closed (it was turned into an invoice). Changes here won't change the invoice."
|
||||
text_estimate_expiration_days: "New estimates get an expiration date this many days after the estimate date, e.g. 30. Leave blank for no expiration date."
|
||||
text_estimate_reload: "Reloading shows the latest version from QuickBooks; changes made on this page will be lost."
|
||||
text_estimate_send_needs_email: "Enter the customer's email to send it."
|
||||
@@ -231,7 +231,6 @@ en:
|
||||
error_estimate_already_invoiced: "Estimate #%{number} is already billed on invoice #%{invoice}."
|
||||
error_estimate_closed_billed: "Estimate #%{number} is already billed (%{status})."
|
||||
error_estimate_rejected: "Estimate #%{number} was rejected, so it can't be billed."
|
||||
text_estimate_billed_on: "This estimate is billed on:"
|
||||
error_invoice_changed_in_quickbooks: "This invoice was changed in QuickBooks after you opened it, so it wasn't saved."
|
||||
error_invoice_has_bundles: "This invoice has bundles, which can only be edited in QuickBooks."
|
||||
error_invoice_not_saved: "QuickBooks didn't save the invoice"
|
||||
|
||||
Reference in new issue
Block a user