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

22 lines
887 B
Text
Raw Normal View History

<div class="print-label-modal-container"
data-print-url="<%= print_repository_row_path %>"
data-zebra-progress-url="<%= print_zpl_repository_row_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_row_path %>"
data-print-validation-url="<%= validate_label_template_columns_repository_row_path %>"
data-label-preview-url="<%= zpl_preview_label_templates_path %>"
data-fluics-info-url="<%= Constants::SCINOTE_FLUICS_URL %>"
data-zebra-enabled="<%= LabelPrinter.zebra_print_enabled? %>"
>
<print-modal-container
:show-modal = "showModal"
:row_ids = "row_ids"
:urls = "urls"
:zebra-enabled = "zebraEnabled"
@close="closeModal"
></print-modal-container>
</div>
<%= javascript_pack_tag 'vue/repository_print_modal' %>