2022-09-29 20:43:06 +08:00
|
|
|
<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 %>"
|
2022-10-25 19:07:45 +08:00
|
|
|
data-zebra-enabled="<%= LabelPrinter.zebra_print_enabled? %>"
|
2022-09-29 20:43:06 +08:00
|
|
|
>
|
|
|
|
<print-modal-container
|
|
|
|
:show-modal = "showModal"
|
|
|
|
:row_ids = "row_ids"
|
|
|
|
:urls = "urls"
|
|
|
|
:zebra-enabled = "zebraEnabled"
|
|
|
|
@close="closeModal"
|
|
|
|
></print-modal-container>
|
|
|
|
</div>
|
|
|
|
|
2022-11-14 17:43:09 +08:00
|
|
|
<%= render partial: 'label_printers/zebra_printer_library' %>
|
2022-09-29 20:43:06 +08:00
|
|
|
<%= javascript_pack_tag 'vue/repository_print_modal' %>
|