e57fd500fc
If a supplier has a long list of articles, which are all available, but the order should contain only a subset of them, selecting them for every order can take a long time. Starting with a copy of an existing order can safe a lot of time.
10 lines
218 B
Text
10 lines
218 B
Text
- title t('.title')
|
|
|
|
= render 'form'
|
|
- if @order.article_ids.empty?
|
|
- content_for :javascript do
|
|
:javascript
|
|
// select all articles by default
|
|
$(function() {
|
|
$('#checkall').click();
|
|
});
|