When viewing Orders I have to select individual Orders before the 'Print Invoice' and 'Print Shipping List' become highlighted and available.
When using Filter to select, say, all 'Processing' status orders, this becomes a huge nuisance.
In the file
should be replaced with
vqmod file attached just in case
Code: Select all
current/admin/view/template/sale/order_list.tpl
Code: Select all
.prop('checked', this.checked)
Code: Select all
.trigger('click')
Sorry, couldn't get 'attach file' to work.deepvision wrote:It is working for me.
Would you attach the changed file so that I can check why it is not working?
<form method="post" enctype="multipart/form-data" target="_blank" id="form-order">
<div class="table-responsive">
<table class="table table-bordered table-hover">
<thead>
<tr>
<td style="width: 1px;" class="text-center"><input type="checkbox" onclick="$('input[name*=\'selected\']').trigger('click');" /></td>
<td class="text-right"><?php if ($sort == 'o.order_id') { ?>
<a href="<?php echo $sort_order; ?>" class="<?php echo strtolower($order); ?>"><?php echo $column_order_id; ?></a>
<?php } else { ?>
<a href="<?php echo $sort_order; ?>"><?php echo $column_order_id; ?></a>
<?php } ?></td>
<td class="text-left"><?php if ($sort == 'customer') { ?>
<a href="<?php echo $sort_customer; ?>" class="<?php echo strtolower($order); ?>"><?php echo $column_customer; ?></a>
<?php } else { ?>
<a href="<?php echo $sort_customer; ?>"><?php echo $column_customer; ?></a>
<?php } ?></td>
<td class="text-left"><?php if ($sort == 'status') { ?>
Sorry. This solution makes "Select All" checkbox to work as "Revert".
The correct solution for original code is to change
to
So now you should change
to
The correct solution for original code is to change
Code: Select all
.prop('checked', this.checked)
Code: Select all
.prop('checked', this.checked).trigger('change')
Code: Select all
.trigger('click')
Code: Select all
.prop('checked', this.checked).trigger('change')
Who is online
Users browsing this forum: No registered users and 86 guests