scinote-web/app/views/label_printers/_label_printer_modal.html.erb

22 lines
885 B
Text
Raw Permalink Normal View History

<div class="print-label-modal-container"
data-print-url="<%= print_repositories_path %>"
data-zebra-progress-url="<%= print_zpl_repositories_path %>"
data-printers-url="<%= label_printers_path(format: :json) %>"
data-label-templates-url="<%= list_label_templates_path(format: :json) %>"
data-rows-url="<%= rows_to_print_repositories_path %>"
data-print-validation-url="<%= validate_label_template_columns_repositories_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"
:repository_id="repository_id"
:urls = "urls"
@close="closeModal"
></print-modal-container>
</div>
<%= render partial: 'label_printers/zebra_printer_library' %>
<%= javascript_include_tag 'vue_repository_print_modal' %>