scinote-web/app/views/label_printers/_label_printer_modal.html.erb
ajugo e71d5805ca
Refactored settings for Label templates feature and Zebra printing [SCI-8918] (#5895)
* Refactored settings for Label templates feature and Zebra printing [SCI-8918]

* Add check for label template [SCI-8918]
2023-08-01 10:30:57 +02:00

20 lines
856 B
Text

<div class="print-label-modal-container"
data-print-url="<%= print_repository_rows_path %>"
data-zebra-progress-url="<%= print_zpl_repository_rows_path%>"
data-printers-url="<%= label_printers_path(format: :json) %>"
data-label-templates-url="<%= label_templates_path(format: :json) %>"
data-rows-url="<%= rows_to_print_repository_rows_path %>"
data-print-validation-url="<%= validate_label_template_columns_repository_rows_path %>"
data-label-preview-url="<%= zpl_preview_label_templates_path %>"
data-fluics-info-url="<%= Constants::SCINOTE_FLUICS_URL %>"
>
<print-modal-container
:show-modal = "showModal"
:row_ids = "row_ids"
:urls = "urls"
@close="closeModal"
></print-modal-container>
</div>
<%= render partial: 'label_printers/zebra_printer_library' %>
<%= javascript_include_tag 'vue_repository_print_modal' %>