2017-11-06 09:31:06 +01:00
|
|
|
.btn-group
|
|
|
|
= link_to '#', class: "btn #{klass} dropdown-toggle", data: {toggle: 'dropdown'} do
|
|
|
|
= t '.title'
|
|
|
|
%span.caret
|
|
|
|
%ul.dropdown-menu
|
|
|
|
%li= order_pdf(order, :groups, t('.group_pdf'))
|
|
|
|
%li= order_pdf(order, :articles, t('.article_pdf'))
|
|
|
|
%li= order_pdf(order, :matrix, t('.matrix_pdf'))
|
|
|
|
%li= order_pdf(order, :fax, t('.fax_pdf'))
|
|
|
|
- unless order.stockit?
|
|
|
|
%li= link_to t('.fax_txt'), order_path(order, format: :txt), {title: t('.download_file')}
|
|
|
|
%li= link_to t('.fax_csv'), order_path(order, format: :csv), {title: t('.download_file')}
|
2023-02-14 16:51:22 +01:00
|
|
|
%li= link_to t('.custom_csv'), custom_csv_order_path(order), remote: true
|