Add bulk action preview and apply functionality for invoice collections

This commit is contained in:
Jeppe Bundgaard
2026-07-08 13:51:54 +02:00
parent 59af8453f3
commit e399c9f974
14 changed files with 775 additions and 11 deletions
+33
View File
@@ -3997,6 +3997,39 @@
"split_success_title": "Monthly split completed",
"text": "You are about to invoice orders from multiple months together ({months}). Should they be split by month instead?",
"title": "Orders from multiple months"
},
"invoice_collection_actions": {
"actions": {
"merge_collections": "Merge",
"queue_economic": "Invoice selected",
"remove_customer_rule_violations": "Remove rule violations",
"reset_hidden_item_prices": "Reset hidden prices",
"split_by_month": "Split by month"
},
"error_title": "Action failed",
"merge_requires_multiple_text": "Select at least two invoice collections to merge them.",
"merge_requires_multiple_title": "Select multiple invoice collections",
"merge_target_title": "Select target invoice collection",
"preview": {
"affected_examples": "Example changes",
"blocked_title": "Action is blocked",
"blockers": "Blockers",
"changed": "Changes: {count}",
"collection_status_line": "Invoice collection #{collection}: {status}",
"collections": "Invoice collections: {count}",
"confirm_button": "Apply action",
"confirmation_label": "Type {phrase} to confirm",
"confirmation_mismatch": "Type exactly {phrase} to continue.",
"merge_target": "Target: invoice collection #{id}",
"no_changes_title": "No changes",
"order_item_line": "Invoice collection #{collection}, order #{order}: {product}",
"order_move_line": "Order #{order}: #{source} to #{target}",
"requires_confirmation": "Review the preview. No changes are applied until you type {phrase}.",
"skipped": "Skipped: {count}",
"title": "Preview {action}"
},
"success_text": "Applied {count} changes.",
"success_title": "Action completed"
}
},
"invoicing": {