Page 1 of 1
2.0.3.1 Select All (Orders) Not Activating 'Print Invoice'
Posted: Tue Aug 18, 2015 5:38 pm
by Hussar
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.
Re: 2.0.3.1 Select All (Orders) Not Activating 'Print Invoic
Posted: Tue Aug 18, 2015 10:48 pm
by deepvision
In the
Code: Select all
current/admin/view/template/sale/order_list.tpl
file
should be replaced with
vqmod file attached just in case
Re: 2.0.3.1 Select All (Orders) Not Activating 'Print Invoic
Posted: Wed Aug 19, 2015 1:18 am
by Hussar
deepvision, thank you but I've made the change and there is no difference

Re: 2.0.3.1 Select All (Orders) Not Activating 'Print Invoic
Posted: Wed Aug 19, 2015 2:03 am
by deepvision
It is working for me.
Would you attach the changed file so that I can check why it is not working?
Re: 2.0.3.1 Select All (Orders) Not Activating 'Print Invoic
Posted: Wed Aug 19, 2015 2:12 am
by Hussar
deepvision wrote:It is working for me.
Would you attach the changed file so that I can check why it is not working?
Sorry, couldn't get 'attach file' to work.
<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') { ?>
Re: 2.0.3.1 Select All (Orders) Not Activating 'Print Invoic
Posted: Wed Aug 19, 2015 2:21 am
by deepvision
Looks fine. Hard to tell what the problem is with only a part of the file.
Maybe it requires a refresh in the Extensions -> Modifications
What is your browser?
It can also be because of browser cache. can you make sure the new code is in the page source (in a browser).
Re: 2.0.3.1 Select All (Orders) Not Activating 'Print Invoic
Posted: Wed Aug 19, 2015 3:15 am
by Hussar
deepvision, That's it - Refresh got it working. great help. Thank you.
Re: 2.0.3.1 Select All (Orders) Not Activating 'Print Invoic
Posted: Mon Aug 24, 2015 2:49 am
by deepvision
Sorry. This solution makes "Select All" checkbox to work as "Revert".
The correct solution for original code is to change
to
Code: Select all
.prop('checked', this.checked).trigger('change')
So now you should change
to
Code: Select all
.prop('checked', this.checked).trigger('change')