mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 06:06:56 +08:00
42af732073
* Fix zebra printer switch and optimize zebra library loading [SCI-7430] * Fix zebra enabled [SCI-7430]
22 lines
949 B
Text
22 lines
949 B
Text
<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>
|
|
|
|
<%= render partial: 'label_printers/zebra_printer_library' %>
|
|
<%= javascript_pack_tag 'vue/repository_print_modal' %>
|