mirror of
https://github.com/rickbarrette/redmine_qbo_calendar.git
synced 2026-11-17 21:50:37 -05:00
Add preview page for creating issues from an estimate
- "Create Issues from Estimate" now opens a preview listing each matching estimate line: include checkbox, subject (from the line description), tracker dropdown, template dropdown and estimated hours (from the line quantity) - Admins set which QBO item codes to look for (e.g. Labor, Alignments) and a default tracker in the plugin settings - Optional redmine_issue_templates support: templates supply the issue description; titles still come from the line description - New appointment_estimate_issues table records which issue came from which estimate line, so a line can't be turned into an issue twice; deleting the issue frees the line again - Creation is all-or-nothing; errors are shown on the preview page - Removes the old Labor-only create_issues_from_labor_lines code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
This commit is contained in:
15 files changed
+613
-92
No files matched your search
@@ -622,3 +622,23 @@ table.appointment-history td.subject {
|
||||
margin-left: 6px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Create issues from estimate preview */
|
||||
.estimate-preview-subtitle {
|
||||
font-weight: normal;
|
||||
font-size: 0.8em;
|
||||
color: #777;
|
||||
}
|
||||
table.estimate-issues-preview td.subject {
|
||||
text-align: left;
|
||||
}
|
||||
table.estimate-issues-preview td.subject input {
|
||||
width: 98%;
|
||||
}
|
||||
table.estimate-issues-preview tr.created td {
|
||||
color: #888;
|
||||
}
|
||||
.estimate-issues-hint {
|
||||
color: #777;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
Reference in new issue
Block a user