mirror of
https://github.com/rickbarrette/redmine_qbo_labels.git
synced 2026-11-17 17:50:36 -05:00
Print label in the sidebar, filled in from the page
A Labels section in the sidebar of every page: Print label fills the label in from the page's customer (their name), estimate, invoice, appointment (its customer and estimate) or work order, or opens a blank label anywhere else. When there's a customer, the PO number field offers their latest estimates, invoices and open work orders. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3e29f14f76
commit
98a9bcc1bf
11 files changed
+239
-18
No files matched your search
@@ -0,0 +1,8 @@
|
||||
<%# The sidebar's Labels section (every page): Print label for what the page shows, or a blank label %>
|
||||
<h3><%= l(:label_qbo_labels_sidebar) %></h3>
|
||||
<p class="qbo-label-sidebar">
|
||||
<%= link_to sprite_icon('qbo-label-print', l(:button_qbo_labels_print), plugin: 'redmine_qbo_labels'),
|
||||
new_label_job_path({ source_type: source_type, source_id: source_id }.compact),
|
||||
remote: true, class: 'icon icon-qbo-label-print' %>
|
||||
<% if title %><br><span class="qbo-label-muted"><%= l(:text_qbo_labels_sidebar_for, title: title) %></span><% end %>
|
||||
</p>
|
||||
Reference in new issue
Block a user